8 Jul
2011
8 Jul
'11
7:05 a.m.
On 08/07/11 14:31, DJ Mills wrote:
Instead of using var=$(command || echo blah); if [[ $var = *"blah"* ]], which IMO is a creative hack, but very unnecessary, simply use: if ! var=$(command); then
This patch gets rid of the hack.
Signed-off-by: DJ Mills<danielmills1@gmail.com>
On my working branch with a changed commit message. Allan