Remove warning "No grub default" (RHBZ#580650).
authorRichard Jones <rjones@redhat.com>
Thu, 8 Apr 2010 18:33:57 +0000 (19:33 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 8 Apr 2010 18:33:57 +0000 (19:33 +0100)
perl/lib/Sys/Guestfs/Lib.pm

index 9dbce2c..5428b10 100644 (file)
@@ -1672,9 +1672,6 @@ sub _check_for_kernels
         eval {
             $boot{default} = $g->aug_get("/files/$grub_conf/default");
         };
-        if($@) {
-            warn __"No grub default specified";
-        }
 
         $os->{boot} = \%boot;
     }