diff options
Diffstat (limited to 'databases/msql')
-rw-r--r-- | databases/msql/files/msql2.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/msql/files/msql2.sh b/databases/msql/files/msql2.sh index 54e0e7762406..9d2d6f3e9500 100644 --- a/databases/msql/files/msql2.sh +++ b/databases/msql/files/msql2.sh @@ -7,7 +7,10 @@ fi case "$1" in start) - [ -x ${PREFIX}/sbin/msql2d ] && su -f -l msql -c "exec ${PREFIX}/sbin/msql2d" > /dev/null 2>&1 & && echo -n ' msql2' + if [ -x ${PREFIX}/sbin/msql2d ]; then + su -f -l msql -c "exec ${PREFIX}/sbin/msql2d" > /dev/null 2>&1 & + echo -n ' msql2' + fi ;; stop) killall msql2d && echo -n ' msql2d' && rm -f ${PREFIX}/etc/msql2/msql2d.pid |