diff options
author | James Rayner <james@archlinux.org> | 2008-02-13 10:28:44 +0100 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2008-02-13 10:28:44 +0100 |
commit | 37c25f14c2d1b02a89bd7460690a827b6e6ae998 (patch) | |
tree | da317adabe9f483d9ce4b0a1e784fb30263d25d9 /src | |
parent | 8961a82f09a19bb65866ac33c1c95d7d0b7edcac (diff) | |
download | netctl-37c25f14c2d1b02a89bd7460690a827b6e6ae998.tar.gz netctl-37c25f14c2d1b02a89bd7460690a827b6e6ae998.tar.xz |
Fails if DNS2 not set. FS9525
Diffstat (limited to 'src')
-rw-r--r-- | src/ethernet.subr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ethernet.subr b/src/ethernet.subr index 3f960d5..081d49a 100644 --- a/src/ethernet.subr +++ b/src/ethernet.subr @@ -85,6 +85,7 @@ ethernet_up() { [[ -n "$DNS1" ]] && echo "nameserver $DNS1" >>/etc/resolv.conf [[ -n "$DNS2" ]] && echo "nameserver $DNS2" >>/etc/resolv.conf fi + return 0 } ethernet_down() { |