diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pro-archman.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pro-archman.sh b/src/pro-archman.sh index 8756b2d..38e7941 100644 --- a/src/pro-archman.sh +++ b/src/pro-archman.sh @@ -136,7 +136,9 @@ get_conf() conf_incoming_dir='../incoming' conf_pool_gc_delay=86400 - . "${opt_base_dir}/conf" + if [ -f "${opt_base_dir}/conf" ]; then + . "${opt_base_dir}/conf" + fi conf_incoming_dir="$(cd "${opt_base_dir}" && \ cd "${conf_incoming_dir}" && pwd)" |