summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-08 19:33:57 +0100
committerRichard Jones <rjones@redhat.com>2010-04-08 19:33:57 +0100
commit3765f97898a1194d96ab4124e1eb46e25701b3b2 (patch)
tree7816192f5806a66c912ccd05d391b715329e0470 /perl
parente35debd642bea240609775610b68145dab0a634b (diff)
downloadlibguestfs-3765f97898a1194d96ab4124e1eb46e25701b3b2.tar.gz
libguestfs-3765f97898a1194d96ab4124e1eb46e25701b3b2.tar.xz
libguestfs-3765f97898a1194d96ab4124e1eb46e25701b3b2.zip
Remove warning "No grub default" (RHBZ#580650).
Diffstat (limited to 'perl')
-rw-r--r--perl/lib/Sys/Guestfs/Lib.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/perl/lib/Sys/Guestfs/Lib.pm b/perl/lib/Sys/Guestfs/Lib.pm
index 9dbce2cd..5428b104 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;
}