... | ... |
@@ -273,7 +273,7 @@ function get_record () { |
273 | 273 |
|
274 | 274 |
function add_aircraft () { |
275 | 275 |
for key in name revision date author; do |
276 |
- test -n "${ac_ass_array[$key]}" # exit if missing data |
|
276 |
+ test -n "${ac_ass_array[$key]}" # exit if missing data (with the help of "set -e") |
|
277 | 277 |
done |
278 | 278 |
sqlite_request "insert into recover_aircrafts (name, revision, date, author, hangar) |
279 | 279 |
values ( |