Logic error, patch by Matteo Croce

This commit is contained in:
Glenn L McGrath 2003-08-29 15:39:07 +00:00
parent 8ce8f9b482
commit 21aacba2b7

View File

@ -130,7 +130,7 @@ int fdformat_main(int argc,char **argv)
if (argc < 2) {
bb_show_usage();
}
verify != bb_getopt_ulflags(argc, argv, "n");
verify = !bb_getopt_ulflags(argc, argv, "n");
argv += optind;
if (stat(*argv,&st) < 0 || access(*argv,W_OK) < 0) {