Skip to content

Commit ac16470

Browse files
Update fstrim.sh
Shell option missing, needed to be able to NO/CANCEL the whiptail dialog box. Without it, the script the NO/CANCEL is without funktion and the script will proceed This shell option is used in the other scripts, but here it is missing.
1 parent cbe8e2f commit ac16470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/pve/fstrim.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function header_info() {
1717
/____/
1818
EOF
1919
}
20-
20+
set -eEuo pipefail
2121
BL=$(echo "\033[36m")
2222
RD=$(echo "\033[01;31m")
2323
CM='\xE2\x9C\x94\033'

0 commit comments

Comments
 (0)