diff options
author | 2012-10-14 17:23:39 -0700 | |
---|---|---|
committer | 2012-10-14 17:23:39 -0700 | |
commit | 729fe88290f23d05135ffb5e5f538e97cf619c33 (patch) | |
tree | fd4b0f56c240063c66c4d8fe3afec9475b51046c | |
parent | Don't need to run as root (diff) | |
download | tatt-729fe88290f23d05135ffb5e5f538e97cf619c33.tar.gz tatt-729fe88290f23d05135ffb5e5f538e97cf619c33.tar.bz2 tatt-729fe88290f23d05135ffb5e5f538e97cf619c33.zip |
don't check for root
-rwxr-xr-x | scripts/tatt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/tatt b/scripts/tatt index b92aef5..5280367 100755 --- a/scripts/tatt +++ b/scripts/tatt @@ -100,14 +100,6 @@ if config['safedir'] != "": print ("Exiting.") exit (1) -## Checking for root, tatt should be run as a user, I guess. -## Remove on occasion. -if (Popen(['whoami'], stdout=PIPE).communicate()[0].rstrip() == 'root'): - isroot=True -else: - print("You're not root!") - isroot=False - ## -s and a bugnumber was given ? if options.succbugnum: print("Reporting success for bug number " + options.succbugnum) |