diff options
author | Deepti Kulkarni <deepti@vyatta.com> | 2012-04-10 09:51:48 -0700 |
---|---|---|
committer | Deepti Kulkarni <deepti@vyatta.com> | 2012-04-10 09:51:48 -0700 |
commit | 558862b588b518f6a50fddc7c942593b9392cedb (patch) | |
tree | 03204c1f1c6cfc30a07b4f474df88f85a58b0758 | |
parent | 3f7b4540b4833a6fa42ade9ab2e34f77463763c6 (diff) | |
download | vyatta-op-558862b588b518f6a50fddc7c942593b9392cedb.tar.gz vyatta-op-558862b588b518f6a50fddc7c942593b9392cedb.zip |
fix to use the correct perl function
-rwxr-xr-x | scripts/vyatta-boot-image.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"; } |