diff options
Diffstat (limited to 'examples/udhcp')
-rw-r--r-- | examples/udhcp/simple.script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/udhcp/simple.script b/examples/udhcp/simple.script index abf1b6f..40ee738 100644 --- a/examples/udhcp/simple.script +++ b/examples/udhcp/simple.script @@ -3,7 +3,7 @@ RESOLV_CONF="/etc/resolv.conf" -[ -n "$1" ] || echo "Error: should be called from udhcpc" && exit 1 +[ -n "$1" ] || { echo "Error: should be called from udhcpc"; exit 1; } NETMASK="" [ -n "$subnet" ] && NETMASK="netmask $subnet" |