summaryrefslogtreecommitdiffstats
path: root/src/control.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-13 22:50:44 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-13 22:50:44 (EDT)
commit1caa11ae6d00d41a6fd45110c9aa463673f953b7 (patch)
tree8799e59db4493f71a6f892e4a4d98e35148a86ff /src/control.sh
parentccf34b180ac777d2b0c0b3f58515a83393194fba (diff)
parse_control(): Return 1 on missing fields
Diffstat (limited to 'src/control.sh')
-rw-r--r--src/control.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control.sh b/src/control.sh
index 1aab978..68ef257 100644
--- a/src/control.sh
+++ b/src/control.sh
@@ -136,6 +136,7 @@ parse_control()
req_fields="${req_fields%${sep}x}"
_parse_control_error "${file}" '0' 'control_missing_fields' \
"${req_fields}"
+ return 1
esac
return 0