aboutsummaryrefslogtreecommitdiff
path: root/common.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-08 21:49:52 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-08 23:04:57 +0100
commit31e3c67be7d6f924d561a9300a62cb3d834d50f5 (patch)
tree05734c128a14c6f91ef003c55e53b0bcf0563f86 /common.sh
parent3b3e0acf77f1b22bceb6cf10eb35c33e09787047 (diff)
downloadnixos-personal-31e3c67be7d6f924d561a9300a62cb3d834d50f5.tar.gz
nixos-personal-31e3c67be7d6f924d561a9300a62cb3d834d50f5.tar.bz2
nixos-personal-31e3c67be7d6f924d561a9300a62cb3d834d50f5.zip
nixos/spt-mox: tweak wifi
Diffstat (limited to 'common.sh')
-rw-r--r--common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.sh b/common.sh
index 797457a..9b6f48c 100644
--- a/common.sh
+++ b/common.sh
@@ -62,7 +62,7 @@ _rootssh() {
local device="$1"
local cmd="$2"
if [ "$device" != "$(hostname)" ]; then
- ssh -t "$(sshdest "$device")" sudo "sh -c '${cmd@Q}'"
+ ssh -t "$(sshdest "$device")" sudo "sh -c '${cmd}'"
else
sudo sh -c "$cmd"
fi