fixes #43: bkctld-check-incs: Protect jail_config_epoch #46

Closed
bwaegeneire wants to merge 2 commits from fixes-43 into master

2 commits

Author SHA1 Message Date
Brice Waegeneire 33e6f58093 bkctld-check-incs: Correct shellchek warnings
- SC2013: To read lines rather than words, pipe/redirect to a 'while
  read' loop.
- SC2086: Double quote to prevent globbing and word splitting.
2021-02-08 11:50:14 +01:00
Brice Waegeneire c2353b03a5 bkctld-check-incs: Protect jail_config_epoch
Test if `incs_policy_file` exists before using it. Fixes #43.
2021-02-08 11:50:14 +01:00