diff options
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-x | scripts/build/config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config index 5261c65a8..e3ae1410d 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -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 |