Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 07cb542

Browse files
author
y00316549
committed
Hyperstart: change default home dir for exec
Signed-off-by: y00316549 <[email protected]>
1 parent 7670d5e commit 07cb542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ static int hyper_do_exec_cmd(struct hyper_exec *exec, int pid_efd, int process_i
535535
clearenv();
536536

537537
// set early env. the container env config can overwrite it
538-
setenv("HOME", "/root", 1);
538+
setenv("HOME", "/", 1);
539539
setenv("HOSTNAME", exec->pod->hostname, 1);
540540
if (exec->tty)
541541
setenv("TERM", "xterm", 1);

0 commit comments

Comments
 (0)