Allows for execution of the internal shell when the FEATURE_PREFER_APPLETS config option is enabled.
Signed-off-by: Nadav Tasher <[email protected]> --- procps/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procps/watch.c b/procps/watch.c index 05b72723c..00f3158b7 100644 --- a/procps/watch.c +++ b/procps/watch.c @@ -112,7 +112,7 @@ int watch_main(int argc UNUSED_PARAM, char **argv) // TODO: 'real' watch pipes cmd's output to itself // and does not allow it to overflow the screen // (taking into account linewrap!) - system(cmd); + bb_system(cmd); sleep_for_duration(period); } return 0; // gcc thinks we can reach this :) -- 2.43.0 _______________________________________________ busybox mailing list [email protected] https://lists.busybox.net/mailman/listinfo/busybox
