The string to match might not be "New directory" exactly, so match that

substring instead.
master
Amitai Schlair 2009-08-30 00:05:23 -04:00
parent 6191f3fbb9
commit 992d0aac09
1 changed files with 1 additions and 1 deletions

View File

@ -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