From 8d39255e63aeee47761bf1c6876b9eb649893989 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 22 Feb 2014 17:59:16 +0100 Subject: [PATCH 1/1] Don't quote lists --- schsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]+"'") -- 2.30.2