diff --git a/gocrypt.bash b/gocrypt.bash index d6a9f9a..858b398 100755 --- a/gocrypt.bash +++ b/gocrypt.bash @@ -73,7 +73,7 @@ gocrypt_close() { gocrypt_delegate() { gocrypt_open_check # Delegate command to another `pass` instance that manages what is inside of the mountpoint - PASSWORD_STORE_DIR="$PWD/$gocrypt_dec_dir" pass "$@" + PASSWORD_STORE_DIR="$PWD/$gocrypt_dec_dir" "$PROGRAM" "$@" # Commit if there has been changes due to this operation cmd_git add "$gocrypt_dir" cmd_git commit -m "Encrypted pass operation inside gocrypt" "$gocrypt_dir" || echo "No git commit created"