Skip to content

Commit

Permalink
Use the correct path for /usr/bin/mkdir (bsc#1127138).
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Feb 27, 2019
1 parent f8ecba8 commit d17f94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/bootloader/boot_record_backup.rb
Expand Up @@ -36,7 +36,7 @@ def initialize(device)
# Backup is stored in /var/lib/YaST2/backup_boot_sectors, in logs
# directory and if it is MBR of primary disk, then also in /boot/backup_mbr
def write
Yast::SCR.Execute(BASH_PATH, "/usr/sbin/mkdir -p #{MAIN_BACKUP_DIR.shellescape}")
Yast::SCR.Execute(BASH_PATH, "/usr/bin/mkdir -p #{MAIN_BACKUP_DIR.shellescape}")

if exists?
rotate
Expand Down

0 comments on commit d17f94c

Please sign in to comment.