Skip to content
Snippets Groups Projects
Commit 3c575e39 authored by deuce's avatar deuce
Browse files

Return -1 on error.

parent f26a767f
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ int mdel(char *glob)
strcpy(this,glob);
while(fexistcase(this)) {
if(unlink(this)==-1)
return(count);
return(-1);
count++;
strcpy(this,glob);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment