summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xxorg/xinitrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/xorg/xinitrc b/xorg/xinitrc
index bad549c..3318c25 100755
--- a/xorg/xinitrc
+++ b/xorg/xinitrc
@@ -25,4 +25,8 @@ if [ -e /usr/bin/xscreensaver ]; then
xscreensaver -no-splash &
fi
-exec ssh-agent $WM
+if [ -e /usr/bin/ssh-agent ]; then
+ exec ssh-agent $WM
+else
+ exec $WM
+fi