mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
replace ugly shell echo by logfile()
git-svn-id: http://www.observium.org/svn/observer/trunk@1736 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+1
-2
@@ -184,7 +184,6 @@ if($discovered_devices) {
|
||||
$string = $argv[0] . " $doing " . date("F j, Y, G:i") . " - $discovered_devices devices discovered in $proctime secs";
|
||||
if ($debug) echo("$string\n");
|
||||
|
||||
# FIXME EWW
|
||||
shell_exec("echo '".$string."' >> ".$config['log_file']);
|
||||
logfile($string);
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user