diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-03 17:23:13 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-03 17:23:13 -0500 |
commit | 72c71196d701a1398963b52a30e9ab34a2579a49 (patch) | |
tree | f9f28f70e3907436dcd0f054b12607cbf4df4f65 /systemd | |
parent | da39ad69e3ee240df7354eb2c2f33bdaba9194f6 (diff) | |
download | vyos-cloud-init-72c71196d701a1398963b52a30e9ab34a2579a49.tar.gz vyos-cloud-init-72c71196d701a1398963b52a30e9ab34a2579a49.zip |
do not duplicate '-generator' in log ame
Diffstat (limited to 'systemd')
-rwxr-xr-x | systemd/cloud-init-generator | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/cloud-init-generator b/systemd/cloud-init-generator index b09924ac..3bd2d6b3 100755 --- a/systemd/cloud-init-generator +++ b/systemd/cloud-init-generator @@ -16,7 +16,7 @@ debug() { shift [ "$lvl" -gt "$DEBUG_LEVEL" ] && return if [ -z "$LOG" ]; then - local log="$LOG_D/${0##*/}-generator.log" + local log="$LOG_D/${0##*/}.log" { : > "$log"; } >/dev/null 2>&1 && LOG="$log" || LOG="/dev/kmsg" fi |