From: Apple Date: Sat, 16 Nov 2002 02:08:20 +0000 (+0000) Subject: hfs-116.12.tar.gz X-Git-Tag: mac-os-x-1023^0 X-Git-Url: https://git.saurik.com/apple/hfs.git/commitdiff_plain/762cd34cdcf3aa20052f6f86d35204b0c384f5e7?ds=sidebyside hfs-116.12.tar.gz --- diff --git a/hfs_util/hfsutil_main.c b/hfs_util/hfsutil_main.c index e500d06..4b05202 100644 --- a/hfs_util/hfsutil_main.c +++ b/hfs_util/hfsutil_main.c @@ -257,15 +257,6 @@ int main (int argc, const char *argv[]) /* call the appropriate routine to handle the given action argument after becoming root */ - result = seteuid( 0 ); - if ( result ) { - fprintf(stderr, "You must be root to run %s.\n", argv[0]); - result = FSUR_INVAL; - goto AllDone; - } - - result = setegid( 0 ); // PPD - is this necessary? - switch( * actionPtr ) { case FSUC_PROBE: result = DoProbe(rawDeviceName);