let top build without TERMIOS enabled
authorPaul Fox <pgf@brightstareng.com>
Thu, 20 Mar 2008 16:05:02 +0000 (16:05 -0000)
committerPaul Fox <pgf@brightstareng.com>
Thu, 20 Mar 2008 16:05:02 +0000 (16:05 -0000)
procps/top.c

index 85ceaccf71093a3f5f44702b7a3d372a49c170cb..e3f91c8f9c8893c69915a9089806c25e6b637ede 100644 (file)
@@ -933,6 +933,8 @@ int top_main(int argc ATTRIBUTE_UNUSED, char **argv)
        } /* end of "while (1)" */
 
        bb_putchar('\n');
+#if ENABLE_FEATURE_USE_TERMIOS
        reset_term();
+#endif
        return EXIT_SUCCESS;
 }