Remove warning "No grub default" (RHBZ#580650).
[libguestfs.git] / 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;
     }