projects
/
schsh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8435c3
)
Don't quote lists
author
Ralf Jung
<post@ralfj.de>
Sat, 22 Feb 2014 16:59:16 +0000
(17:59 +0100)
committer
Ralf Jung
<post@ralfj.de>
Sat, 22 Feb 2014 16:59:16 +0000
(17:59 +0100)
schsh
patch
|
blob
|
history
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]+"'")