summaryrefslogtreecommitdiffstats
path: root/test/TEST-35-ISCSI-MULTI/client-init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-35-ISCSI-MULTI/client-init.sh')
-rwxr-xr-xtest/TEST-35-ISCSI-MULTI/client-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-35-ISCSI-MULTI/client-init.sh b/test/TEST-35-ISCSI-MULTI/client-init.sh
index d7f1370..ab70d17 100755
--- a/test/TEST-35-ISCSI-MULTI/client-init.sh
+++ b/test/TEST-35-ISCSI-MULTI/client-init.sh
@@ -17,7 +17,7 @@ done < /proc/mounts
if getargbool 0 rd.shell; then
strstr "$(setsid --help)" "control" && CTTY="-c"
- setsid $CTTY sh -i
+ setsid ${CTTY:+"${CTTY}"} sh -i
fi
sync