Skip to content

Commit

Permalink
Fix retrieving password from keyring
Browse files Browse the repository at this point in the history
  • Loading branch information
nivram913 committed Dec 17, 2021
1 parent d14b74b commit 73b973d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdsync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ prompt_password()
fi
if $USE_GNOME_KEYRING
then
ENC_PASSWORD="$(secret-tool search application gds 2>/dev/null | grep 'secret =' | cut -d '=' -f2)"
ENC_PASSWORD="$(secret-tool search application gds 2>/dev/null | grep 'secret =' | cut -d '=' -f2 | tail -c +2)"
if test -z "$ENC_PASSWORD"
then
if ! ENC_PASSWORD="$(zenity --password --title='Google Drive Sync Password')"
Expand Down

0 comments on commit 73b973d

Please sign in to comment.