aboutsummaryrefslogtreecommitdiff
path: root/games/fsgs
diff options
context:
space:
mode:
Diffstat (limited to 'games/fsgs')
-rw-r--r--games/fsgs/files/fsgs.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/fsgs/files/fsgs.sh b/games/fsgs/files/fsgs.sh
index 0baeafa5509b..aec504082670 100644
--- a/games/fsgs/files/fsgs.sh
+++ b/games/fsgs/files/fsgs.sh
@@ -7,7 +7,11 @@ fi
case "$1" in
start)
- cd ${PREFIX}; [ -x fsgs/fsgs -a -f fsgs/fsgs.cfg ] && fsgs/fsgs > /dev/null & && echo -n ' fsgs'
+ cd ${PREFIX}
+ if [ -x fsgs/fsgs -a -f fsgs/fsgs.cfg ]; then
+ fsgs/fsgs > /dev/null &
+ echo -n ' fsgs'
+ fi
;;
stop)
killall fsgs && echo -n ' fsgs'