aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-07-20 14:50:04 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-07-20 14:50:04 +0200
commitb17f7c8d0e626b976f9888f0d7f1d57c86f05773 (patch)
tree9bed7561b020d5e5faf169ba18fc0dcab7a9d5a1
parent84a27deb717e57d066fd256147862c96736fbb7c (diff)
downloadscripts-b17f7c8d0e626b976f9888f0d7f1d57c86f05773.tar.gz
scripts-b17f7c8d0e626b976f9888f0d7f1d57c86f05773.zip
Fixed filename error in store.sh
-rwxr-xr-xdata/store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/store.sh b/data/store.sh
index d9c8b8f..7cfa8df 100755
--- a/data/store.sh
+++ b/data/store.sh
@@ -58,4 +58,4 @@ formattedValues="$(echo "$formattedValues" | sed "s/^${separator}//")"
[ -n "$time" ] && formattedValues="$(date '+%H:%M:%S')${separator}${formattedValues}"
[ -n "$date" ] && formattedValues="$(date '+%y/%m/%d')${separator}${formattedValues}"
-ssh "$server" "echo ${formattedValues} >>\"${file}\"" >/dev/null || exit 3
+ssh "$server" "echo ${formattedValues} >>${file}" >/dev/null || exit 3