Skip to content

Commit f0d95bb

Browse files
authored
flash backup: always log errors (#332)
1 parent d2deaf3 commit f0d95bb

File tree

1 file changed

+0
-3
lines changed
  • plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/include

1 file changed

+0
-3
lines changed

plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/include/UpdateFlashBackup.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ function exec_log($command, &$output = [], &$retval = 0) {
102102
try {
103103
exec($command.' 2>&1', $output, $retval);
104104

105-
// reduce logging when connection is down
106-
if (!empty($arrState['error']) && date('i') % 10 != 0) return;
107-
108105
if ($retval === 0) {
109106
error_log('['.date("Y/m/d H:i:s e").'] Command \''.$command.'\' exited with code '.$retval."\n\n", 3, $gitflash);
110107
} else {

0 commit comments

Comments
 (0)