Minor changes

This commit is contained in:
Loïc Guégan 2023-12-13 11:12:33 +01:00
parent 01f6f45232
commit 0d8b138f10

View file

@ -25,8 +25,8 @@ nfolder=$(readlink -f ${wai}/${SUBSCRIBER_DIR}/${nodes[$key]}/) # Node Folder
# Set from file and to file
ffile=${nfolder}/$ifrom
tfile=${nfolder}/$ito
[ ! -f "$ffile" ] && { echo "Node power measurements starting at $2."; exit 4; }
[ ! -f "$tfile" ] && { echo "Node power measurements up to $3."; exit 5; }
[ ! -f "$ffile" ] && { echo "No power measurements starting at $2."; exit 4; }
[ ! -f "$tfile" ] && { echo "No power measurements up to $3."; exit 5; }
# Give files to the user
missings=0
header=0