Justfile: improve error handling in rebuild-disk recipe
This commit is contained in:
parent
8afc9ca159
commit
d863bdc059
1 changed files with 1 additions and 1 deletions
2
Justfile
2
Justfile
|
@ -150,8 +150,8 @@ rebuild-disk device:
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
just -v disk-mount {{device}}
|
just -v disk-mount {{device}}
|
||||||
|
trap "set +e; just -v disk-umount {{device}}" EXIT
|
||||||
just -v disk-install {{device}}
|
just -v disk-install {{device}}
|
||||||
just -v disk-umount {{device}}
|
|
||||||
|
|
||||||
# Re-render the versions of the given offline system and reinstall it in offline-mode
|
# Re-render the versions of the given offline system and reinstall it in offline-mode
|
||||||
update-disk dir:
|
update-disk dir:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue