summaryrefslogtreecommitdiff
path: root/hw/xprint/etc/Xsession.d/cde_xsessiond_xprint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xprint/etc/Xsession.d/cde_xsessiond_xprint.sh')
-rw-r--r--hw/xprint/etc/Xsession.d/cde_xsessiond_xprint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xprint/etc/Xsession.d/cde_xsessiond_xprint.sh b/hw/xprint/etc/Xsession.d/cde_xsessiond_xprint.sh
index 3fb6bba7c..54c431d5c 100644
--- a/hw/xprint/etc/Xsession.d/cde_xsessiond_xprint.sh
+++ b/hw/xprint/etc/Xsession.d/cde_xsessiond_xprint.sh
@@ -22,8 +22,8 @@
# Obtain list of Xprint servers
#
-if [ -f "/etc/init.d/xprint" ] ; then
- XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`"
+if [ -x "/etc/init.d/xprint" ] ; then
+ XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`"
export XPSERVERLIST
fi