Commit 5c01be3d authored by Emil Velikov's avatar Emil Velikov Committed by Alexandros Frantzis

scripts/traceutil.py: bail out when path is missing

Passing non-existing path to os.scan(dir) will crash out.

Avoid that by checking (and appropriately exiting) if the path is
missing. This will result in invalid warning messages being printed as
follow-up, but we can live with that for now.
Signed-off-by: 's avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: Alexandros Frantzis's avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
parent c0a54c77
Pipeline #56326 failed with stages
in 5 minutes and 23 seconds