]> git.proxmox.com Git - pve-common.git/commitdiff
cleanup error message
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 16 Dec 2014 12:23:37 +0000 (13:23 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 16 Dec 2014 12:24:20 +0000 (13:24 +0100)
data/PVE/INotify.pm

index 360551268efe18aaa3a229ef3cdbc348832aea64..d04004197d42aec5fd03c365017fcd5346f0430b 100644 (file)
@@ -315,7 +315,7 @@ sub parse_ccache_options {
 sub register_file {
     my ($id, $filename, $parser, $writer, $update, %options) = @_;
 
-    die "can't register file after initify_init" if $inotify;
+    die "can't register file '$filename' after inotify_init" if $inotify;
 
     die "file '$filename' already added :ERROR" if defined ($ccache->{$filename});
     die "ID '$id' already used :ERROR" if defined ($ccachemap->{$id});