diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2014-04-11 09:45:59 -0400 |
---|---|---|
committer | Daniel Manrique <> | 2014-04-11 09:45:59 -0400 |
commit | 5879801d827ef83108a34887cc4eb4613366dbb6 (patch) | |
tree | a79edbdc2cd5cb077742425bdbb71ded8a51f82b | |
parent | e45f2b062e38718e9ac362fa3b1846396ed0a892 (diff) | |
parent | bfd5e8769f08e3b0dc78f7c7052f157fe5376e53 (diff) |
"automatic merge by tarmac [r=roadmr][bug=1306262][author=bladernr]"
-rw-r--r-- | jobs/usb.txt.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/usb.txt.in b/jobs/usb.txt.in index d159c39..f7fe5b6 100644 --- a/jobs/usb.txt.in +++ b/jobs/usb.txt.in @@ -1,7 +1,7 @@ plugin: shell id: usb/detect estimated_duration: 1.0 -command: lsusb | sed 's/.*\(ID .*\)/\1/' | head -n 4 || echo "No USB devices were detected" >&2 +command: set -o pipefail; lsusb 2>/dev/null | sed 's/.*\(ID .*\)/\1/' | head -n 4 || echo "No USB devices were detected" >&2 _description: Detects and shows USB devices attached to this system. plugin: user-interact-verify |