From d887b96922ccffda1e7a8ff7fe370b99db82ce1e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 22 Sep 2025 14:47:40 -0400 Subject: [PATCH] Fix config=>Config --- scripts/ZoneMinder/lib/ZoneMinder/Storage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Storage.pm b/scripts/ZoneMinder/lib/ZoneMinder/Storage.pm index 7506d4480..8d1f131ba 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Storage.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Storage.pm @@ -175,7 +175,7 @@ sub delete_path { ($storage_path) = ($storage_path =~ /^(.*)$/); # De-taint ($path) = ($path =~ /^(.*)$/); # De-taint if (!$Config{ZM_PATH_RM}) { - Info('No value set for ZM_PATH_RM. ZM_PATH_RM should have been set automatically by the distro in '.$config{ZM_CONFIG_DIR}.'/conf.d/01-system-paths.conf. Defaulting to /bin/rm'); + Info('No value set for ZM_PATH_RM. ZM_PATH_RM should have been set automatically by the distro in '.$Config{ZM_CONFIG_DIR}.'/conf.d/01-system-paths.conf. Defaulting to /bin/rm'); $Config{ZM_PATH_RM} = '/bin/rm'; } my $command = "$Config{ZM_PATH_RM} -rf $storage_path/$path 2>&1";