diff options
author | Matthieu Coudron <mattator@gmail.com> | 2017-12-26 16:58:04 +0900 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2018-03-12 17:32:59 +0900 |
commit | c476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a (patch) | |
tree | d935ee889e3e99736825ad0479808caed9188aef /nixos/modules/system | |
parent | 7b7860ff8958efa70d164f2e8d7477fb6aadfe39 (diff) | |
download | nixlib-c476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a.tar nixlib-c476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a.tar.gz nixlib-c476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a.tar.bz2 nixlib-c476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a.tar.lz nixlib-c476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a.tar.xz nixlib-c476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a.tar.zst nixlib-c476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a.zip |
grub-install.pl: more details on blkid failure
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/install-grub.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl index cc03e54ead63..8bd203106f55 100644 --- a/nixos/modules/system/boot/loader/grub/install-grub.pl +++ b/nixos/modules/system/boot/loader/grub/install-grub.pl @@ -182,7 +182,7 @@ sub GrubFs { # Based on the type pull in the identifier from the system my ($status, @devInfo) = runCommand("@utillinux@/bin/blkid -o export @{[$fs->device]}"); if ($status != 0) { - die "Failed to get blkid info for @{[$fs->mount]} on @{[$fs->device]}"; + die "Failed to get blkid info (returned $status) for @{[$fs->mount]} on @{[$fs->device]}"; } my @matches = join("", @devInfo) =~ m/@{[uc $fsIdentifier]}=([^\n]*)/; if ($#matches != 0) { |