From: Richard Jones Date: Thu, 8 Apr 2010 18:33:57 +0000 (+0100) Subject: Remove warning "No grub default" (RHBZ#580650). X-Git-Tag: 1.3.2~13 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3765f97898a1194d96ab4124e1eb46e25701b3b2;p=libguestfs.git Remove warning "No grub default" (RHBZ#580650). --- diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm index 9dbce2c..5428b10 100644 --- a/perl/lib/Sys/Guestfs/Lib.pm +++ b/perl/lib/Sys/Guestfs/Lib.pm @@ -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; }