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