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 bef37c7..e97965f 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);