diff --git a/bin/smartlink b/bin/smartlink index 94a77253eabc4a413261cb0712898e3e75c0738e..326e141bb82d4fa33384de32794c3619cb8b209f 100755 --- a/bin/smartlink +++ b/bin/smartlink @@ -77,9 +77,9 @@ while test x$1 = x -a x$# != x0; do shift done -if test -x /usr/bin/uname ; then +if test -x /usr/bin/uname 2>/dev/null; then UNAME=`/usr/bin/uname -sr` -elif test -x /bin/uname ; then +elif test -x /bin/uname 2>/dev/null; then UNAME=`/bin/uname -sr` else UNAME=unknown