summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2018-03-13 13:40:33 +0000
committerGitHub <noreply@github.com>2018-03-13 13:40:33 +0000
commitbfbc4951a6cad4b2c355cf8f3db1f1eccbd1f1a7 (patch)
treec1c1dacd71a2457d0659fc19089a0da7ab7af36f /nixos/modules/system
parentd9d21b67345c3be39fa8dd0de7781618e86ac338 (diff)
parentc476d2f592f5fc4ccca10da4d8f45c7d15eb8c5a (diff)
downloadnixlib-bfbc4951a6cad4b2c355cf8f3db1f1eccbd1f1a7.tar
nixlib-bfbc4951a6cad4b2c355cf8f3db1f1eccbd1f1a7.tar.gz
nixlib-bfbc4951a6cad4b2c355cf8f3db1f1eccbd1f1a7.tar.bz2
nixlib-bfbc4951a6cad4b2c355cf8f3db1f1eccbd1f1a7.tar.lz
nixlib-bfbc4951a6cad4b2c355cf8f3db1f1eccbd1f1a7.tar.xz
nixlib-bfbc4951a6cad4b2c355cf8f3db1f1eccbd1f1a7.tar.zst
nixlib-bfbc4951a6cad4b2c355cf8f3db1f1eccbd1f1a7.zip
Merge pull request #36850 from teto/virtualisation
Virtualisation
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/loader/grub/install-grub.pl2
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) {