summaryrefslogtreecommitdiff
path: root/include/option.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/option.sh')
-rwxr-xr-xinclude/option.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/option.sh b/include/option.sh
index 3d9f4536..45066166 100755
--- a/include/option.sh
+++ b/include/option.sh
@@ -121,6 +121,7 @@ EOF
check_defconfig()
{
+ [ -d "$1" ] || $err "Target '$1' not defined."
for x in "${1}"/config/*; do
[ -f "${x}" ] && printf "%s\n" "$x" && return 1
done