Skip to content

Commit ba3495b

Browse files
committed
Fix exit code ot excludelist.sh
1 parent 4c61555 commit ba3495b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tools/excludelist.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
#!/bin/bash
22

3+
set -e
4+
35
# Download excludelist
46
blacklisted=($(wget --quiet https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist -O - | sort | uniq | grep -v "^#.*" | grep "[^-\s]"))
5-
if [ -z $blacklisted ]; then
6-
# Return nothing if no output from command
7-
echo ""
8-
exit
9-
fi
107

118
# Create array
129
for item in ${blacklisted[@]:0:${#blacklisted[@]}-1}; do

0 commit comments

Comments
 (0)