mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
updated to use function for last commit
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ $options = getopt('h:m:i:n:d::a::q');
|
||||
|
||||
if (!isset($options['q'])) {
|
||||
echo $config['project_name_version']." Discovery\n";
|
||||
echo `git log -n 1|grep 'commit '`."\n";
|
||||
echo get_last_commit()."\n";
|
||||
}
|
||||
|
||||
if (isset($options['h'])) {
|
||||
|
||||
Reference in New Issue
Block a user