aboutsummaryrefslogtreecommitdiff
path: root/common.sh
diff options
context:
space:
mode:
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