Update stack

This commit is contained in:
Joshua Harlow 2012-02-11 00:22:47 -08:00
parent ab01dec573
commit a042d6f550

4
stack
View File

@ -39,11 +39,11 @@ def main():
#do this first so people can see the help message...
args = opts.parse()
prog_name = (sys.argv[0])
prog_name = sys.argv[0]
#will need root to setup openstack
if not sh.got_root():
rest_args = sys.argv[1:len(sys.argv)]
rest_args = sys.argv[1:]
print("This program requires a user with sudo access.")
msg = "Perhaps you should try %s %s" % \
(utils.color_text("sudo %s" % (prog_name), "red", True), " ".join(rest_args))