diff options
Diffstat (limited to 'exec/exec.c')
| -rw-r--r-- | exec/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c index 0d9187cabfa..935c94a59af 100644 --- a/exec/exec.c +++ b/exec/exec.c @@ -1036,7 +1036,7 @@ exec_0 (char *name, struct exec_tracee *tracee, } /* Add a directory separator if necessary. */ - + if (!link_size || buffer1[link_size - 1] != '/') buffer1[link_size] = '/', link_size++; |
