mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-12 00:50:31 +02:00
Ensure config ends with a line feed
This commit is contained in:
@@ -108,9 +108,12 @@ function check_path () {
|
||||
fi
|
||||
fi
|
||||
done < /tmpfile
|
||||
|
||||
|
||||
rm /tmpfile
|
||||
|
||||
# Ensure config ends with a line feed
|
||||
sed -i "\$q" "$file"
|
||||
|
||||
}
|
||||
|
||||
# Define custom file
|
||||
|
||||
Reference in New Issue
Block a user