X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=restore.pl;h=0ea7d2c98b46c0d5e69fd0f5554adfbdaf1eafa4;hb=3addc0c5e928bc7b0fc6ff1ef8b7dff7263cf3ea;hp=3a600b1c0cf11187d37ad162ffffeed428cc8479;hpb=b735fd32081b00b0c94196cf77c9b465703d8da5;p=cumulus.git diff --git a/restore.pl b/restore.pl index 3a600b1..0ea7d2c 100755 --- a/restore.pl +++ b/restore.pl @@ -337,7 +337,7 @@ sub process_metadata { # Try to parse the data as "key: value" pairs of file metadata. Also # handle continuation lines, which start with whitespace and continue # the previous "key: value" pair. - if ($line =~ m/^(\w+):\s+(.*)\s*$/) { + if ($line =~ m/^(\w+):\s*(.*)$/) { $info{$1} = $2; $last_key = $1; } elsif ($line =~/^\s/ && defined $last_key) {