git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8494 
91ce42f0-d328-0410-95d8-
f526ca767f89
 
     my ($self, $ouput) = @_;
 
     my %arg;
-    foreach my $l (split(/\r\n/, $ouput)) {
+    foreach my $l (split(/\r?\n/, $ouput)) {
        if ($l =~ /(\w+): name=([\w\d\.\s-]+?)(\s+\w+=.+)?$/) {
            $arg{$1} = $2;
            $l = $3 
     foreach my $k (keys %arg) {
        $lowcase{lc($k)} = $arg{$k} ;
     }
-
     return \%lowcase;
 }
 
 
+27Feb09
+ebl  Should fix #1240 about job output parsing
 04Feb09
 ebl  Fix new Purged status from update_media
 03Feb09