summaryrefslogtreecommitdiff
path: root/units/pig
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-19 16:55:47 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-19 16:55:47 +0200
commit2909dc3ec5fe877ffa25933ac936f4a26b9a2c2b (patch)
treee037f6bba1f9d2c5a7a4d8478c2845f3e3c91313 /units/pig
parent2b1956220674c34911ce718e065bba8370c7a4ef (diff)
units: Fix all jobs commands shellcheck errors
Diffstat (limited to 'units/pig')
-rw-r--r--units/pig/jobs.pxu2
-rw-r--r--units/pig/resource.pxu2
2 files changed, 2 insertions, 2 deletions
diff --git a/units/pig/jobs.pxu b/units/pig/jobs.pxu
index 2bbcaa6..b3702ab 100644
--- a/units/pig/jobs.pxu
+++ b/units/pig/jobs.pxu
@@ -5,4 +5,4 @@ estimated_duration: 60
_summary: Check if the system automatically changes the resolution based on EDID
requires: pig.hdmi_bridge == 'installed'
environ: PIG_HOST
-command: edid_cycle.py $PIG_HOST
+command: edid_cycle.py "$PIG_HOST"
diff --git a/units/pig/resource.pxu b/units/pig/resource.pxu
index eb62e22..81b9d19 100644
--- a/units/pig/resource.pxu
+++ b/units/pig/resource.pxu
@@ -2,4 +2,4 @@ id: pig
plugin: resource
_summary: Get Pig's capabilities
environ: PIG_HOST
-command: ssh -q -o 'StrictHostKeyChecking=no' $PIG_HOST /snap/bin/pigbox capabilities
+command: ssh -q -o 'StrictHostKeyChecking=no' "$PIG_HOST" /snap/bin/pigbox capabilities