Merge lp://staging/~cyphermox/mtp/lp1421664 into lp://staging/mtp
Proposed by
Mathieu Trudel-Lapierre
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Sebastien Bacher | ||||
Approved revision: | 67 | ||||
Merged at revision: | 64 | ||||
Proposed branch: | lp://staging/~cyphermox/mtp/lp1421664 | ||||
Merge into: | lp://staging/mtp | ||||
Diff against target: |
27 lines (+4/-2) 2 files modified
debian/mtp-server.conf (+2/-1) server/server.cpp (+2/-1) |
||||
To merge this branch: | bzr merge lp://staging/~cyphermox/mtp/lp1421664 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Sebastien Bacher | Approve | ||
Ubuntu Phablet Team | Pending | ||
Review via email: mp+249669@code.staging.launchpad.net |
Commit message
Fix startup issues on desktop: guard against android_usb not being available and don't fail with an abort when /dev/mtp_usb isn't there; just error and return.
Description of the change
Fix startup issues on desktop: guard against android_usb not being available and don't fail with an abort when /dev/mtp_usb isn't there; just error and return.
To post a comment you must log in.
testing with sh it seems to be unhappy about the -o line, complaining about an illegal number, using that instead works
"if [ -z "$disconnected" ] || [ "$disconnected" -ge 1 ];"
not sure what's the issue with the version there (or with my local testing) though