Skip to content

Commit

Permalink
wrong variable name. Fixes issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
bushvin committed Dec 14, 2017
1 parent 76ed50f commit 1ff3e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grub
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class Grub(object):
if newfile != oldfile:
if self._grub_backup_config() is not True:
return ( 1, False, "/boot/grub/grub.conf could not be backed up.")
if self._grub_save_config(contents) is not True:
if self._grub_save_config(newfile) is not True:
return ( 1, False, "/boot/grub/grub.conf could not be saved" )
changed = True

Expand Down

0 comments on commit 1ff3e38

Please sign in to comment.