Skip to content

Commit 70bb0bf

Browse files
authored
Fix ping.php output (librenms#18142)
(probably other scripts need this too, but just hitting them as I see them)
1 parent 34effba commit 70bb0bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ping.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
$options = getopt('fhdvrg:');
1212

13+
Log::setDefaultDriver('console');
14+
1315
if (isset($options['h'])) {
1416
echo <<<'END'
1517
ping.php: Usage ping.php [-d] [-v] [-r] [-g group(s)]

0 commit comments

Comments
 (0)