X-Git-Url: https://git.ralfj.de/schsh.git/blobdiff_plain/a5b740f9a2f1bcc6adaf23325eb03608bf271eca..34e8fa1956e1e832d51353d10ebbad1a91a6844d:/schsh?ds=inline diff --git a/schsh b/schsh index b433a19..f079112 100755 --- a/schsh +++ b/schsh @@ -7,6 +7,7 @@ def allowSCP(run): if len(run) != 3: return False if run[0] != "scp": return False if run[1] not in ("-f", "-t"): return False + if run[2].startswith('-'): return False return True def allowRSync(run):