summaryrefslogtreecommitdiff
path: root/exec/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'exec/exec.c')
-rw-r--r--exec/exec.c2
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++;