diff options
-rw-r--r-- | net-mgmt/arpwatch/files/arpwatch.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net-mgmt/arpwatch/files/arpwatch.sh b/net-mgmt/arpwatch/files/arpwatch.sh index 92035b9eb274..e7c5c3305bd4 100644 --- a/net-mgmt/arpwatch/files/arpwatch.sh +++ b/net-mgmt/arpwatch/files/arpwatch.sh @@ -31,6 +31,9 @@ start) '') if [ -x "$PREFIX"/sbin/arpwatch -a -d "$PREFIX"/arpwatch ]; then "$PREFIX"/sbin/arpwatch && echo -n ' arpwatch' + else + echo "Error: Cannot find $PREFIX/sbin/arpwatch" >&2 + exit 1 fi ;; *) |