summaryrefslogtreecommitdiff
path: root/etc/functions/off
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-11-21 22:59:05 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-11-21 22:59:05 +0100
commit9c21013c3fb3364da45e7498a7cb454f09a80fe1 (patch)
treeaea96ffeb79bd414c38879588fd0f2b5c5e9df41 /etc/functions/off
parent6fb789d1006fb57055d4d734380da4b68cb5f9b9 (diff)
Remove fdie
Diffstat (limited to 'etc/functions/off')
-rw-r--r--etc/functions/off2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/off b/etc/functions/off
index f1c104d..36e5aeb 100644
--- a/etc/functions/off
+++ b/etc/functions/off
@@ -33,7 +33,7 @@ while [[ $1 == -* ]] {
return 0
;;
-|--) shift; break ;;
- *) fdie "Unrecognized option: $1"; return 1 ;;
+ *) echo "Unrecognized option: $1" >&2 ; return 1 ;;
esac
shift
}