summaryrefslogtreecommitdiff
path: root/libpiny/lib/Piny/Repo.pm
diff options
context:
space:
mode:
Diffstat (limited to 'libpiny/lib/Piny/Repo.pm')
-rw-r--r--libpiny/lib/Piny/Repo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm
index 675c16c..b265705 100644
--- a/libpiny/lib/Piny/Repo.pm
+++ b/libpiny/lib/Piny/Repo.pm
@@ -404,7 +404,7 @@ sub destroy_ikiwiki {
system( "/etc/init.d/apache2", "reload" ) and die "Could not reload apache config!";
if ( -e "/etc/ikiwiki/wikilist.d/" . $s->name ) {
- unlink( $_ );
+ unlink( "/etc/ikiwiki/wikilist.d/" . $s->name );
$s->rebuild_wikilist;
};