This repository was archived by the owner on Feb 27, 2018. It is now read-only.
Commit bcd1a9d
committed
Add checkEnvironment call into cmdHellInit before printExport.
The same as cmdUp does: "Your environment variables are already set correctly." written to stderr in case no actions needed.
This way env correctness can be checked by in script by:
if [[ "$(boot2docker-cli shellinit 2>/dev/null)" == "" ]]; then
# env is ok
else
# env isn't correct
fi1 parent cb2c3bc commit bcd1a9d
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
180 | 186 | | |
181 | 187 | | |
182 | 188 | | |
| |||
0 commit comments