cwfs: fix cwcmd startdump

This commit is contained in:
cinap_lenrek 2017-01-27 02:00:20 +01:00
parent c6b2ad583e
commit 5171a0ac52

View file

@ -2269,7 +2269,8 @@ cmd_cwcmd(int argc, char *argv[])
} 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