summaryrefslogtreecommitdiffstats
path: root/bash-completion/losetup
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/losetup')
-rw-r--r--bash-completion/losetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash-completion/losetup b/bash-completion/losetup
index 7fee1d0ae..b58d8de94 100644
--- a/bash-completion/losetup
+++ b/bash-completion/losetup
@@ -33,7 +33,7 @@ _losetup_module()
SIZELIMIT DIO"
for WORD in $OUTPUT_ALL; do
if ! [[ $prefix == *"$WORD"* ]]; then
- OUTPUT="$WORD $OUTPUT"
+ OUTPUT="$WORD ${OUTPUT:-""}"
fi
done
compopt -o nospace