From b68ecc73b9502bfbcc7c166579d62f88ebc07787 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Sun, 6 Sep 2020 12:28:27 -0700 Subject: [PATCH] Fix possible reference to undefined variable. modified: src/unixfork.c --- src/unixfork.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unixfork.c b/src/unixfork.c index 0272062..d9779d7 100644 --- a/src/unixfork.c +++ b/src/unixfork.c @@ -420,6 +420,7 @@ int fork_Unix() { } else /* old style, no args */ { termtype[0] = 0; + cmdstring = shcom; cmdstring[0] = 0; }