mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
disk-deactivate: Use bash and pipefail
This commit is contained in:
1 parent
94af39d27e
commit
196a5deeea
1 file changed
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
set -efux
|
set -efux -o pipefail
|
||||||
# dependencies: bash jq util-linux lvm2 mdadm zfs
|
# dependencies: bash jq util-linux lvm2 mdadm zfs
|
||||||
disk=$(realpath "$1")
|
disk=$(realpath "$1")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user