Fix buglet in install.sh

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8735 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-09-23 18:16:05 +00:00
parent 7451a56c64
commit 1e213d8b94

View File

@ -198,7 +198,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
if [ -n "$PREFIX" ]; then
if [ -z "$CYGWIN" ]; then
if [ -a `id -u` != 0 ] ; then
if [ `id -u` != 0 ] ; then
echo "Not setting file owner/group permissions, not running as root."
OWNERSHIP=""
fi