diff --git a/nginx_stage/lib/nginx_stage/generators/nginx_clean_generator.rb b/nginx_stage/lib/nginx_stage/generators/nginx_clean_generator.rb index 3acbe0a41..63a812ae7 100644 --- a/nginx_stage/lib/nginx_stage/generators/nginx_clean_generator.rb +++ b/nginx_stage/lib/nginx_stage/generators/nginx_clean_generator.rb @@ -111,7 +111,7 @@ class NginxCleanGenerator < Generator FileUtils.rmdir(dir) end rescue StandardError => e - warn "Error trying to clean up the PID file #{dir} of disabled user: #{e.message}" + warn "Error trying to clean up the PID file directory '#{dir}' of disabled user: #{e.message}" end end end