Skip to content

Commit

Permalink
Update prt.py
Browse files Browse the repository at this point in the history
Fix check_config command for share paths which have spaces.
  • Loading branch information
Awarua- authored Aug 29, 2016
1 parent ae41357 commit 049f585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prt.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def check_config():
for path in paths:
printf(" Path: '%s'\n", path)
proc = subprocess.Popen(["ssh", "%s@%s" % (server["user"], address),
"-p", server["port"], "stat", "--printf='%U %a'", path],
"-p", server["port"], "stat", "--printf='%U %a'", "'" + path "'"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
proc.wait()

Expand Down

0 comments on commit 049f585

Please sign in to comment.