Skip to content

Commit

Permalink
Fix nginx comment
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Nov 14, 2024
1 parent 8bb2ce2 commit 97d4a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sudoutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ switch (cli.args.shift()) {
if (existsSync(ngpath)) {
cat(ngpath).to(env.NGINX_TMP);
} else if (existsSync(ngpath + '.bak')) {
ShellString("// Restored from .bak file, meaning this site was disabled due to NGINX bug\n").to(env.NGINX_TMP);
ShellString("# Restored from .bak file, meaning this site was disabled due to NGINX bug\n\n").to(env.NGINX_TMP);
cat(ngpath + '.bak').toEnd(env.NGINX_TMP);
} else {
// TODO: doesn't know what would it get if not exists
Expand Down

0 comments on commit 97d4a38

Please sign in to comment.