Minor improvment suggested by ChatGPT <3

This commit is contained in:
Tigerblue77 2023-02-17 20:09:02 +00:00
parent f03b57725e
commit f8cfad314e

View File

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
# Enable strict bash mode to stop the script if an uninitialized variable is used, if a command fails, or if a command with a pipe fails
set -euo pipefail
# Define global functions # Define global functions
# This function applies Dell's default dynamic fan control profile # This function applies Dell's default dynamic fan control profile
function apply_Dell_fan_control_profile () { function apply_Dell_fan_control_profile () {