From a4487afd8a7a2121217de9c1939d783164498a0c Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Tue, 6 Dec 2011 15:55:28 +0000 Subject: sbin/fsm: fix error msg diff --git a/files/common/sbin/fsm b/files/common/sbin/fsm index 2a5c4fb..0bfe4ba 100755 --- a/files/common/sbin/fsm +++ b/files/common/sbin/fsm @@ -1,6 +1,4 @@ -#!/bin/sh - -set -e +#!/bin/sh -e # paths to state file and definition dir PState=/var/fsm/$2 @@ -80,7 +78,7 @@ if [ -f $PDef/initial_state \ echo $S >$PState fi else - fail "FSM $1 does not exist" + fail "FSM $2 does not exist" fi # lock state file (neccessary also for watch, as it calls scripts that -- cgit v0.10.1