]> git.proxmox.com Git - pve-manager.git/blobdiff - bin/pvedaemon
pvereport: add missing newline for style
[pve-manager.git] / bin / pvedaemon
index f3cd1580de914b1c6ce995a73ec8f0b9ca4d92b7..ffccb34fb9cc2d52f249ff9e43037d8918abbe39 100755 (executable)
@@ -7,6 +7,7 @@ delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
 use strict;
 use warnings;
 
+use PVE::SafeSyslog;
 use PVE::Service::pvedaemon;
 
 $SIG{'__WARN__'} = sub {
@@ -23,4 +24,4 @@ my $prepare = sub {
     mkdir "/var/run/dtach";
 };
 
-PVE::Service::pvedaemon->run_cli(undef, undef, $prepare);
+PVE::Service::pvedaemon->run_cli_handler(prepare => $prepare);