diff options
author | Amitai Schlair <schmonz@magnetic-babysitter.(none)> | 2009-08-30 00:05:23 -0400 |
---|---|---|
committer | Amitai Schlair <schmonz@magnetic-babysitter.(none)> | 2009-08-30 00:05:23 -0400 |
commit | 992d0aac09a3e3e81d7ad999910a4a026984f804 (patch) | |
tree | 0e62096a74b032be5672a64154366485c4e9b2a4 /IkiWiki | |
parent | 6191f3fbb9e0189276f84e15b9582fbd352b7a9b (diff) |
The string to match might not be "New directory" exactly, so match that
substring instead.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Wrapper.pm | 2 |
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 |