aboutsummaryrefslogtreecommitdiff
path: root/sdn-install
diff options
context:
space:
mode:
Diffstat (limited to 'sdn-install')
-rwxr-xr-xsdn-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdn-install b/sdn-install
index 0e28390..788c8bf 100755
--- a/sdn-install
+++ b/sdn-install
@@ -125,7 +125,7 @@ done
# Figure out the shell to integrate with
login=$(basename "$SHELL")
-actual=$(ps -p $$ -o ppid= | xargs ps -o comm= -p)
+actual=$(ps -p $$ -o ppid= | xargs ps -o comm= -p | sed 's/^-//')
if [ -z "$shell" ]
then
if [ "$login" != "$actual" ]