summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfiles/common/sbin/fsm6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/common/sbin/fsm b/files/common/sbin/fsm
index e6b62fa..177d0c7 100755
--- a/files/common/sbin/fsm
+++ b/files/common/sbin/fsm
@@ -47,7 +47,7 @@ callOne () { # args: cwd arg1 arg2 cmdlist
cd $1
while read cmd; do
if [ -x "$cmd" ]; then
- $cmd $2 $3
+ $cmd $2 $3 666<&-
exit $?
fi
done )
@@ -94,12 +94,12 @@ case "$1" in
cat $PState
;;
watch)
- lock $PState
+ lockState $PState
watch
;;
change)
[ -n "$3" ] || printArgs
- lock $PState
+ lockState $PState
change $3
;;
*)
contact: Jan Huwald // Impressum