Failing in lb config when config wasn't initialized first with lb init (Closes: #744365).
This commit is contained in:
parent
cce1e47ce8
commit
d86fb1aeb4
|
@ -883,7 +883,8 @@ Check_defaults
|
|||
|
||||
if [ ! -e config ]
|
||||
then
|
||||
Echo_message "Creating config tree for a ${LB_MODE}/${LB_DISTRIBUTION}/${LIVE_IMAGE_ARCHITECTURE} system"
|
||||
Echo_error "fatal: Not a live-build directory: use 'lb init' to initialize it"
|
||||
exit 1
|
||||
else
|
||||
Echo_message "Updating config tree for a ${LB_MODE}/${LB_DISTRIBUTION}/${LIVE_IMAGE_ARCHITECTURE} system"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue