lineage-push: Don't use shell=True

* Let's split the command instead

Change-Id: I1b747d9a2a32005856c416552a955285f7c1a7fe
This commit is contained in:
Luca Stefani
2018-04-14 23:43:27 +02:00
parent 550d796aee
commit 2cd3ba2610

View File

@@ -71,7 +71,7 @@ def push(args):
if args.message:
command += '%m={}'.format(quote_plus(args.message))
sys.exit(subprocess.call(command, shell=True))
sys.exit(subprocess.call(command.split(' ')))
def str2bool(v):