Merge lp:~chipaca/ubuntu-core-security/usaaage into lp:~ubuntu-security/ubuntu-core-security/trunk
Proposed by
John Lenton
on 2015-06-16
| Status: | Merged |
|---|---|
| Merged at revision: | 77 |
| Proposed branch: | lp:~chipaca/ubuntu-core-security/usaaage |
| Merge into: | lp:~ubuntu-security/ubuntu-core-security/trunk |
| Diff against target: |
24 lines (+6/-1) 1 file modified
bin/sc-logresolve (+6/-1) |
| To merge this branch: | bzr merge lp:~chipaca/ubuntu-core-security/usaaage |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jamie Strandboge | 2015-06-16 | Approve on 2015-06-16 | |
|
Review via email:
|
|||
Commit Message
In sc-logresolve: show usage if -h or --help is given; drop spurious cat; use -- to avoid grep treating logfile as an option.
Description of the Change
I came to add a call to usage() in sc-logresolve, that had usage but was never called.
I then saw a spurious cat, so I removed it.
Then I noticed we weren't protecting $logfile from being treated as an option, so I added that.
This last item makes sc-logresolve no longer work with BSD grep.
To post a comment you must log in.

LGTM. Thanks!