make config generation redirect stderr to /dev/null

This commit is contained in:
James Barnett 2016-03-17 20:15:28 -05:00
parent 9a3e96d579
commit cfaab80706
2 changed files with 3 additions and 1 deletions

2
99_grub-config.hook Normal file → Executable file
View file

@ -9,4 +9,4 @@ Target = *
Description = generate GRUB configuration file
Depends = grub-btrfs-git
When = PostTransaction
Exec = /usr/bin/grub-mkconfig -o /boot/grub/grub.cfg
Exec = /usr/bin/snapper-pac-grub-config

2
snapper-pac-grub Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
/usr/bin/grub-mkconfig -o /boot/grub/grub.cfg 2> /dev/null