Commit 5d6c013
authored
Fix for: /usr/local/vesta/func/db.sh: line 390: [: : integer expression expected
Every night cron is sending email with subject: Cron <admin@host> sudo /usr/local/vesta/bin/v-update-sys-queue disk
And content of that email is: /usr/local/vesta/func/db.sh: line 390: [: : integer expression expected
This is a fix for that bug.
I guess mysql for some databases returns empty string for DB size, so this will handle that case.1 parent e6d6e19 commit 5d6c013
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| |||
0 commit comments