diff options
Diffstat (limited to 'contrib/pacsysclean.in')
-rwxr-xr-x | contrib/pacsysclean.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pacsysclean.in b/contrib/pacsysclean.in index a4accd56..9e25d39e 100755 --- a/contrib/pacsysclean.in +++ b/contrib/pacsysclean.in @@ -27,7 +27,7 @@ IFS=$'\n' name="^Name.*: (.*)$" size="^Installed Size.*: (.*) KiB$" -[[ $PACMAN_OPTS != -* ]] && PACMAN_OPTS="-$PACMAN_OPTS" +[[ $PACMAN_OPTS && $PACMAN_OPTS != -* ]] && PACMAN_OPTS="-$PACMAN_OPTS" for line in $(LANG=C pacman -Qi $PACMAN_OPTS); do if [[ $line =~ $name ]]; then |