From 3ff859b91726ba919add16067525fe368cafc32f Mon Sep 17 00:00:00 2001 From: Wildan M Date: Thu, 9 May 2024 12:31:00 +0700 Subject: [PATCH] Update sudoutil.js --- sudoutil.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sudoutil.js b/sudoutil.js index 4c4dcb2..5851821 100755 --- a/sudoutil.js +++ b/sudoutil.js @@ -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);