guard from CRLF newlines

pull/76/head
Vladislav Yarmak 5 years ago
parent b138238ba5
commit f3fda22dfb

@ -1,6 +1,8 @@
#!/bin/bash
set -euo pipefail
# halt on any error for safety and proper pipe handling
set -euo pipefail ; # <- this semicolon and comment make options apply
# even when script is corrupt by CRLF line terminators (issue #75)
# empty line must follow this comment for immediate fail with CRLF newlines
backup_path="/opt/nvidia/libnvidia-encode-backup"
silent_flag=''

Loading…
Cancel
Save