From ba036285523e557c79fa96f4e2529379c162cde8 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Tue, 24 Feb 2026 21:13:03 +0100 Subject: refactor: remove expand_aliases shopt Aliases are never defined or used in the script, making this option redundant. Removing it reduces the attack surface slightly and avoids unexpected behaviour if the script is ever sourced into a shell with user-defined aliases. --- transcode.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/transcode.sh b/transcode.sh index 3ca19bd..7a0a9cb 100755 --- a/transcode.sh +++ b/transcode.sh @@ -76,9 +76,6 @@ IFS=$'\n\t' UMASK=002 umask "$UMASK" -# Allow aliases to expand inside command substitutions (optional convenience) -shopt -s expand_aliases - # Ensure ERR traps are inherited by functions and subshells set -o errtrace # Treat use of undefined variables as an error and exit -- cgit v1.3.1