Don't quote lists
authorRalf Jung <post@ralfj.de>
Sat, 22 Feb 2014 16:59:16 +0000 (17:59 +0100)
committerRalf Jung <post@ralfj.de>
Sat, 22 Feb 2014 16:59:16 +0000 (17:59 +0100)
schsh

diff --git a/schsh b/schsh
index 823eeaa70cfcf710311451f5ae610dfa0769d888..28d317d68b377921979b35ad28d275e85849f6cc 100755 (executable)
--- 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]+"'")