Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Oct 28, 2023
1 parent d0a5508 commit 87b3afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/executor/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ export async function runConfigSubdomain(config, domaindata, subdomain, sshExec,
}
if (url.pathname.endsWith('.tar.gz')) {
executedCMD.push(`wget -O _.tar.gz ` + escapeShell(url.toString()));
executedCMD.push(`tar xvzf _.tar.gz ; rm _.tar.gz ; chmod -R 0750 *`);
executedCMD.push(`tar -xvzf _.tar.gz ; rm _.tar.gz ; chmod -R 0750 *`);
} else {
executedCMD.push(`wget -O _.zip ` + escapeShell(url.toString()));
executedCMD.push(`unzip -q -o _.zip ; rm _.zip ; chmod -R 0750 *`);
Expand Down

0 comments on commit 87b3afd

Please sign in to comment.