diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-03-11 00:25:59 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-03-11 00:25:59 -0500 |
commit | 4874ca889045f291e9a314349285c2fca67c5f00 (patch) | |
tree | df4d0f645cdc5442987b07060c1bf857fd1dba4d /src/initrd | |
parent | 5bf743c7f970d228a24b770d1c87dd398e42e4ee (diff) |
calling umount slightly sooner is more correct
Diffstat (limited to 'src/initrd')
-rwxr-xr-x | src/initrd/grok-block | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initrd/grok-block b/src/initrd/grok-block index af845d6..a7056ad 100755 --- a/src/initrd/grok-block +++ b/src/initrd/grok-block | |||
@@ -237,8 +237,8 @@ grok_block() | |||
237 | 237 | ||
238 | elif [ "$ID_PART_ENTRY_NAME" = samizdat-plaintext ]; then | 238 | elif [ "$ID_PART_ENTRY_NAME" = samizdat-plaintext ]; then |
239 | if gpg_verify "$mountpoint"/disk.key && gpg_can_decrypt "$mountpoint"/disk.key; then | 239 | if gpg_verify "$mountpoint"/disk.key && gpg_can_decrypt "$mountpoint"/disk.key; then |
240 | addmenu_choose_native_root "$(parent_device "$DEVNAME")" | ||
241 | umount "$mountpoint" | 240 | umount "$mountpoint" |
241 | addmenu_choose_native_root "$(parent_device "$DEVNAME")" | ||
242 | bootdone key-mounted | 242 | bootdone key-mounted |
243 | else | 243 | else |
244 | umount "$mountpoint" | 244 | umount "$mountpoint" |