diff options
| author | João Lucas <jlucas@disroot.org> | 2025-01-04 00:48:04 +0000 |
|---|---|---|
| committer | João Lucas <jlucas@disroot.org> | 2025-01-04 00:48:04 +0000 |
| commit | e4e1f291743c8d5ed725a29c37338fdc0c4e9c65 (patch) | |
| tree | e892bc26c37c87967e7761138b471a233cf80963 | |
| parent | 931135ba08cabdc9cfe547d16fceb14ef0d3e22e (diff) | |
| download | anypinentry-e4e1f291743c8d5ed725a29c37338fdc0c4e9c65.tar.gz anypinentry-e4e1f291743c8d5ed725a29c37338fdc0c4e9c65.zip | |
fix input parsing when cmd has no data
| -rwxr-xr-x | anypinentry | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/anypinentry b/anypinentry index 8808939..4790ebe 100755 --- a/anypinentry +++ b/anypinentry @@ -151,7 +151,7 @@ interpret_command() { return fi cmd="$(echo "$1" | cut -d' ' -f1 | tr a-z A-Z)"; - data="$(echo "$1" | cut -d' ' -f2-)"; + data="$(echo "$1" | cut -d' ' -sf2-)"; case "${cmd}" in NOP) ;; |
