mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
nut: Use quotes around filenames
Avoid potential issues with space or other strangeness by quoting filenames through the initscripts. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
This commit is contained in:
@@ -40,7 +40,7 @@ nut_upscgi_add() {
|
||||
system="$system:$port";
|
||||
fi
|
||||
config_get displayname "$cfg" displayname
|
||||
echo "MONITOR $system \"$displayname\"" >> $UPSCGI_C
|
||||
echo "MONITOR $system \"$displayname\"" >> "$UPSCGI_C"
|
||||
}
|
||||
|
||||
service_reload() {
|
||||
|
||||
Reference in New Issue
Block a user