The string to match might not be "New directory" exactly, so match that
substring instead.master
parent
6191f3fbb9
commit
992d0aac09
|
@ -50,7 +50,7 @@ EOF
|
||||||
{
|
{
|
||||||
int j;
|
int j;
|
||||||
for (j = 1; j < argc; j++)
|
for (j = 1; j < argc; j++)
|
||||||
if (strcmp(argv[j], "New directory") == 0)
|
if (strstr(argv[j], "New directory") != NULL)
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue