summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-09-14 05:43:38 +0200
committerJames Rayner <james@archlinux.org>2009-09-14 08:23:56 +0200
commit2e0232ccf156498b81c06044890e59fb4a6b7943 (patch)
treeeb9a2fd1fc0f0b1a7d0797179368ed42b3d6db80 /src/network
parentdeed4d3d3cff0fa45d0d0d5aa665db102cdc5ff3 (diff)
downloadnetctl-2e0232ccf156498b81c06044890e59fb4a6b7943.tar.gz
netctl-2e0232ccf156498b81c06044890e59fb4a6b7943.tar.xz
Returns and exits
* add some abortive returns * some exit tweaks Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/network')
-rw-r--r--src/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network b/src/network
index f1f55cf..678fbb3 100644
--- a/src/network
+++ b/src/network
@@ -267,8 +267,8 @@ check_iface() {
else
echo "up"
fi
- exit 0
)
+ return 0
else
return 1
fi