Skip to content
Snippets Groups Projects
Commit 55d07e9e authored by nimrod's avatar nimrod
Browse files

Avoid another subshell.

parent af506af5
No related branches found
No related tags found
No related merge requests found
......@@ -296,7 +296,7 @@ flatpak_kill () {
# shellcheck disable=SC2120
prune_ssh_sockets () {
( [ "${1:-}" != '-f' ] && [ "${1:-}" != '--force' ] ) || killall -v ssh || true
{ [ "${1:-}" != '-f' ] && [ "${1:-}" != '--force' ]; } || killall -v ssh || true
find ~/.ssh/ \
-maxdepth 1 \
-type s \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment