common/wrappers/uname.sh: return with correct exit code.

This commit is contained in:
Enno Boland 2016-03-03 12:05:28 +01:00
parent 5a2a63645f
commit b12013870d

View file

@ -3,3 +3,4 @@
uname=$(/usr/bin/uname $@)
rv=$?
echo "$uname" | sed "s/\(^\| \)$(/usr/bin/uname -n)\($\| \)/\1void\2/"
exit $rv