From: Ralf Jung Date: Sat, 22 Feb 2014 16:59:16 +0000 (+0100) Subject: Don't quote lists X-Git-Url: https://git.ralfj.de/schsh.git/commitdiff_plain/8d39255e63aeee47761bf1c6876b9eb649893989?ds=sidebyside Don't quote lists --- diff --git a/schsh b/schsh index 823eeaa..28d317d 100755 --- a/schsh +++ b/schsh @@ -68,7 +68,7 @@ elif len(sys.argv) == 3 and sys.argv[1] == "-c": # check if the command is allowed, and add path run = shlex.split(sys.argv[2]) if commandAllowed(run, sys.argv[2]): # this may change run, but that's okay - log("Running '"+str(run)+"'") + log("Running "+str(run)) else: print("You are not allowed to run this command.") logquit("Attempt to run invalid command '"+sys.argv[2]+"'")