aboutsummaryrefslogtreecommitdiffstats
path: root/pinentry-rofi.sh
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-08-07 10:02:24 +0200
committerMatěj Cepl <mcepl@cepl.eu>2023-08-11 11:59:01 +0200
commit57da83f093bb4f44417bf380d57d63df9f6ac49d (patch)
treec1056ed3fc25972de4c209d54da414d3c971c8e6 /pinentry-rofi.sh
parent42086d801201ebf831b06aa08deaa0fb388f8f84 (diff)
downloadpinentry-rofi-57da83f093bb4f44417bf380d57d63df9f6ac49d.tar.gz
fix: remove Pythonism (os.getpid -> $$).
Diffstat (limited to 'pinentry-rofi.sh')
-rwxr-xr-xpinentry-rofi.sh2
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.