Sendcommand: add missing break - so we don't fail to -w.
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 29 Jun 2013 22:21:53 +0000 (00:21 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 29 Jun 2013 22:21:53 +0000 (00:21 +0200)
Thanks to Harry Coin for pointing this out.

citadel/utils/sendcommand.c

index bef37c7be7dccc6e51b422e9828e808c11d3fdac..e97965f19b329dda6c0107549467381db21f4096 100644 (file)
@@ -163,6 +163,7 @@ int main(int argc, char **argv)
                        break;
                case 'w':
                        watchdog = atoi(optarg);
+                       break;
                default:
                        fprintf(stderr, "sendcommand: usage: sendcommand [-h server_dir] [-w watchdog_timeout]\n");
                        return(1);