From 558862b588b518f6a50fddc7c942593b9392cedb Mon Sep 17 00:00:00 2001 From: Deepti Kulkarni Date: Tue, 10 Apr 2012 09:51:48 -0700 Subject: fix to use the correct perl function --- scripts/vyatta-boot-image.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vyatta-boot-image.pl b/scripts/vyatta-boot-image.pl index 19df5a2..555496b 100755 --- a/scripts/vyatta-boot-image.pl +++ b/scripts/vyatta-boot-image.pl @@ -192,7 +192,7 @@ sub deleteGrubEntries { die "Failed to modify GRUB configuration\n" if (!defined($p) || !chmod(($p & oct(7777)), $tfile)); - mv($tfile, $grub_cfg) + move($tfile, $grub_cfg) or die "Failed to delete GRUB entries\n"; } -- cgit v1.2.3