disk-deactivate: Use bash and pipefail

This commit is contained in:
Carl Dong authored and mergify[bot] committed 2023-10-22 17:26:03 +00:00
1 parent 94af39d27e
commit 196a5deeea
1 file changed
+2 -2
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/sh
set -efux
#!/usr/bin/env bash
set -efux -o pipefail
# dependencies: bash jq util-linux lvm2 mdadm zfs
disk=$(realpath "$1")