summaryrefslogtreecommitdiffstats
path: root/debian/preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/preinst')
-rw-r--r--debian/preinst4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/preinst b/debian/preinst
index ec85d74f..4db03d17 100644
--- a/debian/preinst
+++ b/debian/preinst
@@ -1,4 +1,6 @@
#!/bin/sh
if [ -e /usr/lib/xrdp/xrdp ]; then
- /etc/init.d/xrdp_control.sh stop
+ if [ -e /etc/init.d/xrdp_control.sh ]; then
+ /etc/init.d/xrdp_control.sh stop
+ fi
fi