commit | 21aacba2b7197aa01c2498984b2215049eecaa89 | [log] [tgz] |
---|---|---|
author | Glenn L McGrath <bug1@ihug.co.nz> | Fri Aug 29 15:39:07 2003 +0000 |
committer | Glenn L McGrath <bug1@ihug.co.nz> | Fri Aug 29 15:39:07 2003 +0000 |
tree | 159336b460b7a85420c9e9cd0af0ae00714a9900 | |
parent | 8ce8f9b482643689b31783b631a41caaa2275778 [diff] [blame] |
Logic error, patch by Matteo Croce
diff --git a/util-linux/fdformat.c b/util-linux/fdformat.c index 5b92646..d94c6a6 100644 --- a/util-linux/fdformat.c +++ b/util-linux/fdformat.c
@@ -130,7 +130,7 @@ 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) {