1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-23 18:11:34 -05:00

Add set -u

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-07-20 18:19:01 -07:00
parent 4b7a2682bd
commit 2dec8b859f
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
3 changed files with 4 additions and 2 deletions

View File

@ -15,7 +15,7 @@
# Make sure secureboot is in setup mode before running this
set -e
set -eu
# Secure boot enrollment
sudo sbctl enroll-keys

View File

@ -14,6 +14,8 @@
# License for the specific language governing permissions and limitations under
# the License.
set -u
output(){
printf '\e[1;34m%-6s\e[m\n' "${@}"
}

View File

@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
set -eu
# Install new grub version
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --disable-shim-lock