From 33b69fbecf9a1856e6d1663f9c1d5d1d544f356f Mon Sep 17 00:00:00 2001 From: Martin Selbmann Date: Sat, 19 Sep 2020 23:49:29 +0200 Subject: [PATCH] remove some errors --- RandomVideo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RandomVideo.sh b/RandomVideo.sh index e49eb01..c2f865f 100755 --- a/RandomVideo.sh +++ b/RandomVideo.sh @@ -6,7 +6,7 @@ player="omxplayer" swupgpio=23 swdowngpio=25 -swupstat=$(command -v gpio read $swupgpio) +swupstat=$($(command -v gpio) read $swupgpio) if [ $# -eq 0 ]; then echo "Parameter fehlt"