Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
182dc29ecc
  1. 8
      crypto777/iguana_OS.c

8
crypto777/iguana_OS.c

@ -542,14 +542,14 @@ void OS_remove_directory(char *dirname)
if ( system(buf) != 0 ) if ( system(buf) != 0 )
{ {
//printf("error doing (%s)\n",buf); //printf("error doing (%s)\n",buf);
sprintf(buf,"rm %s/*",dirname); sprintf(buf,"rm -rf %s",dirname);
if ( system(buf) != 0 ) if ( system(buf) != 0 )
{ {
//printf("error doing (%s)\n",buf); //printf("error doing (%s)\n",buf);
} }
sprintf(buf,"rmdir %s",dirname); //sprintf(buf,"rmdir %s",dirname);
if ( system(buf) != 0 ) //if ( system(buf) != 0 )
printf("second error doing (%s)\n",buf); // printf("second error doing (%s)\n",buf);
} }
} }

Loading…
Cancel
Save