refactor: Fix ShellCheck warnings in /etc/qubes-rpc/qubes.SshAgent

This commit is contained in:
Robin Schneider 2022-01-14 20:01:04 +01:00
parent f6436fb8c8
commit 4b8316f8e7
No known key found for this signature in database
GPG Key ID: A81E8006DC95EFE6

View File

@ -169,16 +169,16 @@ We now need to write a small script that handles connection requests from `ssh-c
- Paste the following contents: - Paste the following contents:
```shell_prompt ```shell_prompt
#!/bin/sh #!/bin/sh
# Qubes App Split SSH Script # Qubes App Split SSH Script
# safeguard - Qubes notification bubble for each ssh request # safeguard - Qubes notification bubble for each ssh request
notify-send "[`qubesdb-read /name`] SSH agent access from: $QREXEC_REMOTE_DOMAIN" notify-send "[$(qubesdb-read /name)] SSH agent access from: $QREXEC_REMOTE_DOMAIN"
# SSH connection # SSH connection
socat - UNIX-CONNECT:$SSH_AUTH_SOCK socat - "UNIX-CONNECT:$SSH_AUTH_SOCK"
``` ```
2. Make it executable 2. Make it executable