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

Avoid another subshell.

parent b534e6e3
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