r4539 - vdr/vdr/trunk/debian
Thomas Schmidt
tschmidt at alioth.debian.org
Fri May 4 21:38:33 UTC 2007
Author: tschmidt
Date: 2007-05-04 21:38:33 +0000 (Fri, 04 May 2007)
New Revision: 4539
Modified:
vdr/vdr/trunk/debian/vdr-groups.sh
Log:
call show_help and exit with 127 when $group_file does not exist
Modified: vdr/vdr/trunk/debian/vdr-groups.sh
===================================================================
--- vdr/vdr/trunk/debian/vdr-groups.sh 2007-05-04 21:24:27 UTC (rev 4538)
+++ vdr/vdr/trunk/debian/vdr-groups.sh 2007-05-04 21:38:33 UTC (rev 4539)
@@ -90,6 +90,11 @@
action="$1"
groups_file="$DIR/$2"
+if [ ! -e $groups_file ]; then
+ show_help
+ exit 127
+fi
+
case "$action" in
--add)
add_to_groups "$groups_file"
More information about the pkg-vdr-dvb-changes
mailing list