Commit 232d40a
committed
check-suspend-resume: make /sys/power/mem_sleep compatible with plain sudo
Remove the dependency on hijack.sh#sudo() and simplify the multiple
layers of quoting. Fixes the following error when running with plain
sudo:
bash: echo deep > /sys/power/mem_sleep: No such file or directory
Signed-off-by: Marc Herbert <marc.herbert@intel.com>1 parent e85a844 commit 232d40a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments