summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-tool/mts-io-sysfs-inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-tool/mts-io-sysfs-inc.sh b/io-tool/mts-io-sysfs-inc.sh
index af94a7a..cec9943 100644
--- a/io-tool/mts-io-sysfs-inc.sh
+++ b/io-tool/mts-io-sysfs-inc.sh
@@ -75,7 +75,7 @@ store_trigger() {
local value=${2}
log_info "setting ${name} to '${value}'"
- echo -n "${value}" > cat ${LEDS_GPIO_DIR}/${name}/trigger
+ echo -n "${value}" > ${LEDS_GPIO_DIR}/${name}/trigger
}
show_trigger() {