update all NEED_ROOT uses
authorJim Meyering <meyering@redhat.com>
Mon, 10 Aug 2009 21:11:01 +0000 (23:11 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 13 Aug 2009 12:45:34 +0000 (14:45 +0200)
commit6bda071b5cd8393b37653687027c4ae6c6cf3804
tree58271b258a06cff6066cdec062b3d08bf68139d3
parent0c07f0d23698798475e0d09491812aca52440328
update all NEED_ROOT uses

run this command:
  git grep -l -w NEED_ROOT|xargs perl -pi -e \
    's/(NEED_ROOT) \((.*?)\)/$1 (return $2)/'
32 files changed:
daemon/augeas.c
daemon/checksum.c
daemon/cmp.c
daemon/command.c
daemon/cpmv.c
daemon/daemon.h
daemon/df.c
daemon/dir.c
daemon/du.c
daemon/fallocate.c
daemon/file.c
daemon/find.c
daemon/glob.c
daemon/grep.c
daemon/grub.c
daemon/headtail.c
daemon/hexdump.c
daemon/initrd.c
daemon/inotify.c
daemon/link.c
daemon/ls.c
daemon/mknod.c
daemon/mount.c
daemon/readdir.c
daemon/realpath.c
daemon/scrub.c
daemon/stat.c
daemon/strings.c
daemon/swap.c
daemon/tar.c
daemon/wc.c
daemon/xattr.c