diff options
author | Jakob Unterwurzacher | 2023-05-03 21:14:53 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2023-05-03 21:14:53 +0200 |
commit | aa1d8a0f90a1046b89dfdd9e58fb1407c76ff27e (patch) | |
tree | 00277726372da29d5988486fcccbfcaade4f8ef8 /tests/example_filesystems/v0.5/Pf35wlWlf43N68EbhIgTcQ== | |
parent | 6c14d25d442a819bf37e228d936e6a2a05de747d (diff) |
cli: don't split multiple-strings flags on comma
Looks like I used StringSliceVar (which splits on comma)
where I should have always used StringArrayVar (which does not).
Bug report contains this example of misbehavoir:
#gocryptfs -extpass 'echo abc,123' -init testdir
Reading password from extpass program "echo abc", arguments: ["123"]
extpass cmd start failed: exec: "echo abc": executable file not found in $PATH
Fixes https://github.com/rfjakob/gocryptfs/issues/730
Diffstat (limited to 'tests/example_filesystems/v0.5/Pf35wlWlf43N68EbhIgTcQ==')
0 files changed, 0 insertions, 0 deletions