summaryrefslogtreecommitdiff
diff options
-rw-r--r--jobs/usb.txt.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/usb.txt.in b/jobs/usb.txt.in
index 8fa63d7..be80593 100644
--- a/jobs/usb.txt.in
+++ b/jobs/usb.txt.in
@@ -14,7 +14,7 @@ command:
if [[ -v SNAP ]]; then
lsusb.py -f $SNAP/var/lib/usbutils/usb.ids 2>/dev/null | sed 's/.*\(ID .*\)/\1/' | head -n 4 || echo "No USB devices were detected" >&2
else
- lsusb 2>/dev/null | sed 's/.*\(ID .*\)/\1/' | head -n 4 || echo "No USB devices were detected" >&2
+ lsusb 2>/dev/null | sort || echo "No USB devices were detected" >&2
fi
_summary: Display USB devices attached to SUT
_description: Detects and shows USB devices attached to this system.