aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Wrapper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 2354717c3..87c2ffc89 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -50,7 +50,7 @@ EOF
{
int j;
for (j = 1; j < argc; j++)
- if (strcmp(argv[j], "New directory") == 0)
+ if (strstr(argv[j], "New directory") != NULL)
exit(0);
}
EOF