debnet: Ignore loop devices
[grml-network.git] / sbin / grml-ap
index 4b1b51e..1fc24b1 100755 (executable)
@@ -4,7 +4,6 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Mit Okt 11 23:00:43 CEST 2006 [moemoe]
 ################################################################################
 
 # exit on any error
@@ -15,7 +14,7 @@ CONFIG_FILE=/etc/grml/routersetup
 . /etc/grml/net-functions
 . /etc/grml/script-functions
 
-check4root
+check4root || exit 1
 
 if ! [ -r "$CONFIG_FILE" ] ; then
         eerror "$CONFIG_FILE could not be read."