Skip to content

Commit caab614

Browse files
committed
chore: disable unnecessary shellcheck warnings
1 parent 53240fc commit caab614

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ubuntu-mainline-kernel.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ action_data=()
9292
## Check if we are running on an Ubuntu-like OS
9393
#####
9494

95-
# shellcheck disable=SC2015
95+
# shellcheck disable=SC1091,SC2015
9696
[ -f "/etc/os-release" ] && {
9797
source /etc/os-release
9898
[[ "$ID" == "ubuntu" ]] || [[ "$ID_LIKE" =~ "ubuntu" ]]
@@ -279,6 +279,7 @@ download () {
279279
$wget -q --save-headers --output-document - "https://$host$uri"
280280
else
281281
exec 3<>/dev/tcp/"$host"/80
282+
# shellcheck disable=SC1117
282283
echo -e "GET $uri HTTP/1.0\r\nHost: $host\r\nConnection: close\r\n\r\n" >&3
283284
cat <&3
284285
fi

0 commit comments

Comments
 (0)