ref: 5d790e08ca051d74f2146014a4426bbc217680e8
parent: abcc56afef59bfc98cff48c800735746ff04e486
author: Alex Musolino <[email protected]>
date: Sun Dec 6 08:54:10 EST 2020
cwfs: fix interpretation of startdump argument
--- a/sys/src/cmd/cwfs/cw.c
+++ b/sys/src/cmd/cwfs/cw.c
@@ -2281,7 +2281,7 @@
blockcmp(dev, s1, s2);
} else if(strcmp(arg, "startdump") == 0) {
if(argc > 2)
- cw->nodump = number(argv[2], 0, 10);
+ cw->nodump = !number(argv[2], 0, 10);
else
cw->nodump = !cw->nodump;
if(cw->nodump)