piped mv error to null
This commit is contained in:
parent
b21ba67adf
commit
350b3f4b25
@ -66,7 +66,7 @@ get_current_amt() {
|
|||||||
# no waterfile
|
# no waterfile
|
||||||
|
|
||||||
# archiving old file
|
# archiving old file
|
||||||
mv "$WORKING_DIR/*.csv" "$ARCHIVE_DIR"
|
mv "$WORKING_DIR/*.csv" "$ARCHIVE_DIR" 2>/dev/null
|
||||||
|
|
||||||
# creating new file for the day
|
# creating new file for the day
|
||||||
printf 'Time, Change, Running Total\n' > "$WATER_FILE"
|
printf 'Time, Change, Running Total\n' > "$WATER_FILE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user