Skip to content

Commit

Permalink
Fix errors reported by shellcheck.
Browse files Browse the repository at this point in the history
One of these is crucial to properly display outdated packages.
  • Loading branch information
Kharacternyk committed May 10, 2020
1 parent 96bbcfc commit a611b0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pacwall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ generate_graph_pactree() {
done

if [[ -z $NO_UPDATES ]]; then
for package in "$(checkupdates | sed -e "s/ .*$//")"; do
for package in $(checkupdates | sed -e "s/ .*$//"); do
echo "\"$package\" [color=\"$UNODE\"]" >> pkgcolors
done
fi
Expand Down Expand Up @@ -292,7 +292,7 @@ admin_mode() {

# then execute using sudo
exec sudo -u "$(_logname)" "$0" "${prev_args[@]}"
exit -1
exit 1
}

main() {
Expand Down

0 comments on commit a611b0a

Please sign in to comment.