Skip to content

Commit

Permalink
Update sudoutil.js
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed May 9, 2024
1 parent e6ef786 commit 3ff859b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sudoutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ switch (cli.args.shift()) {
exit(0);
case 'VIRTUAL_SERVER_SET':
arg = cli.args.shift();
DEST = env.VIRTUAL_SERVER_OUT.replace('$', arg);
cat(env.VIRTUAL_SERVER_TMP).to(DEST);
cat(env.VIRTUAL_SERVER_TMP).to(env.VIRTUAL_SERVER_OUT.replace('$', arg));
exit(0);
case 'NGINX_START':
exec(env.NGINX_START);
Expand Down

0 comments on commit 3ff859b

Please sign in to comment.