]> granicus.if.org Git - procps-ng/commitdiff
watch: remove unreachable code
authorSami Kerola <kerolasa@iki.fi>
Sun, 5 Feb 2012 19:48:33 +0000 (20:48 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 5 Feb 2012 19:48:33 +0000 (20:48 +0100)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
watch.c

diff --git a/watch.c b/watch.c
index 0bb6239125838ef253d6cff1a1fe2bcc883d2c57..2408e176cea9b3aa6026fc904b0d7cb21eda553e 100644 (file)
--- a/watch.c
+++ b/watch.c
@@ -707,7 +707,5 @@ int main(int argc, char *argv[])
                        usleep(interval * 1000000);
        }
 
-       endwin();
-
-       return EXIT_SUCCESS;
+       return EXIT_FAILURE;
 }