diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2023-08-07 10:02:24 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2023-08-11 11:59:01 +0200 |
commit | 57da83f093bb4f44417bf380d57d63df9f6ac49d (patch) | |
tree | c1056ed3fc25972de4c209d54da414d3c971c8e6 /pinentry-rofi.sh | |
parent | 42086d801201ebf831b06aa08deaa0fb388f8f84 (diff) | |
download | pinentry-rofi-57da83f093bb4f44417bf380d57d63df9f6ac49d.tar.gz |
fix: remove Pythonism (os.getpid -> $$).
Diffstat (limited to 'pinentry-rofi.sh')
-rwxr-xr-x | pinentry-rofi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pinentry-rofi.sh b/pinentry-rofi.sh index 0a1ce47..d1df300 100755 --- a/pinentry-rofi.sh +++ b/pinentry-rofi.sh @@ -99,7 +99,7 @@ while : ; do if [[ "$subcommand" == "version" ]] ; then assuan_send "D ${VERSION}" elif [[ "$subcommand" == "pid" ]] ; then - assuan_send f"D {os.getpid()}" + assuan_send "D $$" fi assuan_send "OK" # This command is reserved for future extensions. |