tags 480609 + patch
thanks

Attached is a patch to resolve this issue.

-- 
Regards,
Andres
--- usr/sbin/netdisco-mibs-install.old	2008-12-01 01:30:06.000000000 -0500
+++ usr/sbin/netdisco-mibs-install	2008-12-01 01:31:36.000000000 -0500
@@ -7,7 +7,7 @@
 CONTRIBDIR="/usr/share/doc/netdisco-mibs-installer/contrib"
 
 # Check if we are root
-if [ "$UID" -ne "0" ]; then
+if [ "$(id -ru)" -ne "0" ]; then
     echo >&2 "$0: error: you must be root to run this program"
     exit 1
 fi

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to