Commit 089f7bcd authored by intrigeri's avatar intrigeri
Browse files

When iterating over globs, handle the case when there was no match

Fixes regression introduced in 5ca08252.
parent 43ad30f9
......@@ -19,6 +19,7 @@ ensure_hook_dependency_is_installed \
virtualbox-guest-dkms
for log in /var/lib/dkms/*/*/build/make.log; do
[ -e "$log" ] || break # handle the case when no file matched the glob
echo "---- $log"
cat "$log"
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment