This commit is contained in:
Daniel Wallace 2014-07-28 18:38:09 -05:00
parent 37470d81b4
commit 273dd411a4

View File

@ -360,8 +360,7 @@ def check_path_traversal(path, user='root', skip_perm_errors=False):
if user != current_user: if user != current_user:
msg += ' Try running as user {0}.'.format(user) msg += ' Try running as user {0}.'.format(user)
else: else:
msg += ' Please give {0} read permissions.'.format(user, msg += ' Please give {0} read permissions.'.format(user)
tpath)
# We don't need to bail on config file permission errors # We don't need to bail on config file permission errors
# if the CLI # if the CLI