fixed bug in indentation

This commit is contained in:
Shawn Kwang 2016-05-20 11:13:16 -05:00
parent 4575b87b4a
commit 2f98a14301
1 changed files with 5 additions and 5 deletions

View File

@ -63,11 +63,11 @@ def determineapacheuser(user):
if len(out1)==1:
return out1.pop()
print "WARNING: Script could not determine which user runs apache Web server. Aborting"
print " You should specify the apache user with the -a/--apache_user flag"
print " Try running the following command with apache Web server running:"
print " ps -ef | egrep '(httpd|apache2|apache)' | grep -v `whoami` | grep -v root"
sys.exit(1)
print "WARNING: Script could not determine which user runs apache Web server. Aborting"
print " You should specify the apache user with the -a/--apache_user flag"
print " Try running the following command with apache Web server running:"
print " ps -ef | egrep '(httpd|apache2|apache)' | grep -v `whoami` | grep -v root"
sys.exit(1)
else:
check_user(user)
return user