ip/ipconfig: fix exit status for ndbconfig
This commit is contained in:
parent
cedf916289
commit
2247741fe0
1 changed files with 2 additions and 3 deletions
|
@ -318,8 +318,7 @@ main(int argc, char **argv)
|
|||
plan9 = 0;
|
||||
break;
|
||||
case 'h':
|
||||
snprint(conf.hostname, sizeof conf.hostname, "%s",
|
||||
EARGF(usage()));
|
||||
snprint(conf.hostname, sizeof conf.hostname, "%s", EARGF(usage()));
|
||||
sendhostname = 1;
|
||||
break;
|
||||
case 'm':
|
||||
|
@ -389,7 +388,7 @@ main(int argc, char **argv)
|
|||
if(dondbconfig){
|
||||
dodhcp = 0;
|
||||
ndbconfig();
|
||||
return;
|
||||
break;
|
||||
}
|
||||
doadd();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue