diff options
| author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-18 00:51:56 +0100 | 
|---|---|---|
| committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-23 16:21:02 +0100 | 
| commit | d905715572014dd6bd0b5998750d756ab0bfd03c (patch) | |
| tree | ab3535594515a00649c3204241f01bd664be3a3f /t/env.t | |
| parent | c8faa619a19d528765ca44ee72a9888413a73045 (diff) | |
| download | sbotools2-d905715572014dd6bd0b5998750d756ab0bfd03c.tar.xz | |
Make sure $lo is defined
Diffstat (limited to 't/env.t')
| -rwxr-xr-x | t/env.t | 1 | 
1 files changed, 1 insertions, 0 deletions
@@ -55,6 +55,7 @@ sub set_lo {  		if ($set) { script (qw/ sboconfig -o /, $lo, { test => 0 }); }  	} else {  		($lo) = script (qw/ sboconfig -l /, { expected => qr/LOCAL_OVERRIDES=(.*)/, test => 0 }); +		$lo //= 'FALSE';  		note "Saving original value of LOCAL_OVERRIDES: $lo";  		$set = 1;  		script (qw/ sboconfig -o /, "$RealBin/LO", { test => 0 });  | 
