]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
we use sudo, no need to halt on non-root users
authorAlfredo Deza <adeza@redhat.com>
Tue, 13 Oct 2015 11:47:33 +0000 (07:47 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 13 Oct 2015 11:47:33 +0000 (07:47 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build/build/build_deb

index e5dc63d16cc7176ab4ca406e9b94ef537a84c303..4490765e9fda3351154954ecb5618cfdb98a60a4 100644 (file)
@@ -99,9 +99,6 @@ cephver=$vers
 start_time=`date`
 echo version $cephver
 
-whoami=`whoami`
-[ "$whoami" != "root" ] && echo "must run as root not $whoami" && usage && exit 1
-
 # This used to live in a *file* on /src/ceph-build. Now it lives here because
 # it doesn't make sense to have a file that lives in /srv/ that we then
 # concatenate to get its contents.