]> git.proxmox.com Git - pve-manager.git/commitdiff
pvestatd: fix register_XYZ_command parameters
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 2 Jan 2015 08:57:19 +0000 (09:57 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 2 Jan 2015 08:57:19 +0000 (09:57 +0100)
bin/pvestatd

index f3b3a347a002aaeab67a21801425ec692c5b4293..ba02e2ec6af3f1b03832b62f770a0ca97ad2eaed 100755 (executable)
@@ -368,10 +368,10 @@ sub run {
     }
 }
 
-$daemon->register_start_command(__PACKAGE__);
-$daemon->register_restart_command(__PACKAGE__, 1);
-$daemon->register_stop_command(__PACKAGE__);
-$daemon->register_status_command(__PACKAGE__);
+$daemon->register_start_command();
+$daemon->register_restart_command(1);
+$daemon->register_stop_command();
+$daemon->register_status_command();
 
 my $cmddef = {
     start => [ __PACKAGE__, 'start', []],