Skip to content

Commit

Permalink
Extend storage warning
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Jul 4, 2024
1 parent 0805444 commit 440fbe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/executor/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default async function runConfig(config, domain, writer, sandbox = false)
await writeLog("$> virtualmin delete-domain");
await spawnSudoUtil('SHELL_SUDO', [user, 'killall', '-u', user]);
await virtExec("delete-domain", value, {
user,
domain,
});
await spawnSudoUtil('CLEAN_DOMAIN', [domaindata['ID'], domain]);
// no need to do other stuff
Expand Down
2 changes: 1 addition & 1 deletion sudoutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ switch (cli.args.shift()) {
K: 1 / 1024,
B: 1 / (1024 * 1024),
}[unit];
if (size < 1536) {
if (size < 5 * 1024) {
return true;
}
}
Expand Down

0 comments on commit 440fbe6

Please sign in to comment.