common/wrappers/uname.sh: return with correct exit code.
This commit is contained in:
parent
5a2a63645f
commit
b12013870d
1 changed files with 1 additions and 0 deletions
|
@ -3,3 +3,4 @@
|
|||
uname=$(/usr/bin/uname $@)
|
||||
rv=$?
|
||||
echo "$uname" | sed "s/\(^\| \)$(/usr/bin/uname -n)\($\| \)/\1void\2/"
|
||||
exit $rv
|
||||
|
|
Loading…
Reference in a new issue