Commit 3ee12e5e authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

varnishreload: Polish printf command

The PPID should be an argument of the print format, not of the date
command.
parent 22fc900b
......@@ -102,7 +102,7 @@ fail() {
vcl_reload_name() {
# NB: The PID compensates the lack of sub-second resolution.
# Varnish will vcl.list in chronological vcl.load order anyway.
printf "%s_%s" "$VCL_PREFIX" "$(date -u +%Y%m%d_%H%M%S_$$)"
printf '%s_%s_%s' "$VCL_PREFIX" "$(date -u +%Y%m%d_%H%M%S)" $$
}
awk_vcl_list() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment