ref: 5171a0ac52a02cbeca41608ab1824c1250a087a4
parent: c6b2ad583e16ac79d09206fea140ff0c724e81c0
author: cinap_lenrek <[email protected]>
date: Thu Jan 26 21:00:20 EST 2017
cwfs: fix cwcmd startdump
--- a/sys/src/cmd/cwfs/cw.c
+++ b/sys/src/cmd/cwfs/cw.c
@@ -2269,7 +2269,8 @@
} else if(strcmp(arg, "startdump") == 0) {
if(argc > 2)
cw->nodump = number(argv[2], 0, 10);
- cw->nodump = !cw->nodump;
+ else
+ cw->nodump = !cw->nodump;
if(cw->nodump)
print("dump stopped\n");
else