diff options
Diffstat (limited to 'src/user/highway/highway.c')
-rw-r--r-- | src/user/highway/highway.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/user/highway/highway.c b/src/user/highway/highway.c index 8dc0080..7e78472 100644 --- a/src/user/highway/highway.c +++ b/src/user/highway/highway.c @@ -18,9 +18,7 @@ void main() { ask_user_line_sz(line_buf, 1023); if (blockequ(line_buf, "exit", 5)) return; - if (try_run_command(path_buf)) - yield_task(); - else + if (!try_run_command_blocking(path_buf)) tell_user_sz("An error occured trying to run that command.\n"); } }
\ No newline at end of file |