diff options
Diffstat (limited to 'init.d/network.in')
-rw-r--r-- | init.d/network.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/network.in b/init.d/network.in index 5e609633..7f64b171 100644 --- a/init.d/network.in +++ b/init.d/network.in @@ -174,7 +174,7 @@ start() { local cr=0 r= int= intv= cmd= args= upcmd= - if [ -z "$domainname" && -s /etc/defaultdomain ]; then + if [ -z "$domainname" -a -s /etc/defaultdomain ]; then domainname=$(cat /etc/defaultdomain) fi if [ -n "$domainname" ]; then |