diff --git a/usr.sbin/watch/watch.c b/usr.sbin/watch/watch.c index b2572ff7796..af5b5ae6f53 100644 --- a/usr.sbin/watch/watch.c +++ b/usr.sbin/watch/watch.c @@ -406,6 +406,7 @@ main(int ac, char *av[]) set_dev(dev_name); } else cleanup(-1); + break; case SNP_DETACH: case SNP_TTYCLOSE: if (opt_reconn_close) @@ -415,6 +416,7 @@ main(int ac, char *av[]) set_dev(dev_name); } else cleanup(-1); + break; default: nread = (unsigned)idata; if (nread < (b_size / 2) && (b_size / 2) > MIN_SIZE) {