fix header

This commit is contained in:
CanbiZ 2025-04-01 10:33:32 +02:00 committed by GitHub
parent ce0cf894a3
commit b4458463a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -296,7 +296,7 @@ get_header() {
# Check if local file already present
if [ ! -s "$local_header_path" ]; then
curl -fsSL "$header_url" -o "$local_header_path"
curl -fsSL "$local_header_path" "$header_url"
if [ $? -ne 0 ]; then
echo -e "${WARN}${BOLD}${YLW}Failed to download header for ${app_name}. No header will be displayed.${CL}"
return 1