mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 99-run.sh
This commit is contained in:
@@ -83,7 +83,7 @@ function check_path () {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp "$file" "$file2"
|
cp "$file" /tmpfile
|
||||||
|
|
||||||
# Loop through each line of the input file
|
# Loop through each line of the input file
|
||||||
while read line
|
while read line
|
||||||
@@ -107,9 +107,9 @@ function check_path () {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done < "$file2"
|
done < /tmpfile
|
||||||
|
|
||||||
rm "$file2"
|
rm /tmpfile
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user