diff options
Diffstat (limited to 'src/user/knob/task.c')
-rw-r--r-- | src/user/knob/task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/knob/task.c b/src/user/knob/task.c index 9bf2c83..ba0ac36 100644 --- a/src/user/knob/task.c +++ b/src/user/knob/task.c @@ -14,12 +14,12 @@ _task_handle_t run_command(const char *path, _task_handle_t stdio_task) { blockcpy(new_path, path, ptr - path); new_path[ptr - path] = '\0'; - _task_handle_t handle = _start_task(0, new_path, ptr + 1, stdio_task); + _task_handle_t handle = _start_task(new_path, ptr + 1, stdio_task); free_block(new_path); return handle; } - return _start_task(0, path, "", stdio_task); + return _start_task(path, "", stdio_task); } bool try_run_command_blocking(const char *path, _task_handle_t stdio_task) { |