Explicitly use correct map type
authorJamie Cameron <jcameron@webmin.com>
Tue, 2 Sep 2008 19:40:06 +0000 (19:40 +0000)
committerJamie Cameron <jcameron@webmin.com>
Tue, 2 Sep 2008 19:40:06 +0000 (19:40 +0000)
postfix/postfix-lib.pl

index 6d80b7f..4fd8ab4 100644 (file)
@@ -681,7 +681,7 @@ sub regenerate_any_table
     {
         next unless $map;
        if (&file_map_type($map->[0])) {
-               local $out = &backquote_logged("$config{'postfix_lookup_table_command'} -c $config_dir $map->[1] 2>&1");
+               local $out = &backquote_logged("$config{'postfix_lookup_table_command'} -c $config_dir $map->[0]:$map->[1] 2>&1");
                if ($?) { &error(&text('regenerate_table_efailed', $map->[1], $out)); }
        }
     }