summaryrefslogtreecommitdiffstats
path: root/remote/modules/pvs2
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/pvs2')
-rw-r--r--remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient10
1 files changed, 4 insertions, 6 deletions
diff --git a/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient b/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient
index 75ba0709..b33889df 100644
--- a/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient
+++ b/remote/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient
@@ -1,11 +1,9 @@
#!/bin/ash
# If the ENV var PVS has been set by vmchooser start pvsclient
-if [ -n "$PVS" -a "$PVS" = "true" ]; then
- if [ -n "$PVS_SESSIONID" ]; then
- pvsclient --session-id "$PVS_SESSIONID" &
- else
- pvsclient &
- fi
+if [ -n "$PVS_SESSIONID" ]; then
+ pvsclient --session-id "$PVS_SESSIONID" &
+else
+ pvsclient &
fi