From e2cd1247176376b58e8acf1f93c722c24604e6fe Mon Sep 17 00:00:00 2001 From: Anders Nordby Date: Wed, 14 Aug 2002 00:14:07 +0000 Subject: Fix startup-scripts for -current /bin/sh issues. --- games/fsgs/files/fsgs.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'games/fsgs/files/fsgs.sh') 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' -- cgit v1.2.3