mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Return 1 from the unalias builtin if _any_ removal fails, not just the last
one.
This commit is contained in:
parent
49bd99efdc
commit
dbf2e1c54f
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ unaliascmd(int argc __unused, char **argv __unused)
|
|||
}
|
||||
}
|
||||
for (i = 0; *argptr; argptr++)
|
||||
i = unalias(*argptr);
|
||||
i |= unalias(*argptr);
|
||||
|
||||
return (i);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue