diff options
Diffstat (limited to 'exec/exec.c')
-rw-r--r-- | exec/exec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/exec/exec.c b/exec/exec.c index 94f0a733..e9590911 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -1314,6 +1314,9 @@ do_exec (file_t file, if (e.error) goto out; + if (abspath) + proc_set_exe (boot->portarray[INIT_PORT_PROC], abspath); + set_name (newtask, argv, pid); e.error = proc_set_entry (boot->portarray[INIT_PORT_PROC], |