]> git.proxmox.com Git - pmg-api.git/commitdiff
PMG/API2/Action.pm: cleanup error message
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Mar 2017 10:17:09 +0000 (11:17 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Mar 2017 10:17:09 +0000 (11:17 +0100)
PMG/API2/Action.pm

index f0953755c5aa6c21800d9b91b67ca50b14b6d449..edc271e2b6ec9cfb1f90924e612cbdf7c5d5706d 100644 (file)
@@ -134,7 +134,7 @@ __PACKAGE__->register_method ({
        # test if object exists
        my ($og, $action) = $load_action_with_og->($rdb, $param->{id});
 
-       die "unable to delete standard actions" if !$action->oisedit();
+       die "unable to delete standard actions\n" if !$action->oisedit();
 
        $rdb->delete_group($og->{id});