From ff9bb06e3044311aa16f3a34fdb09b4e53a3c6f5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 28 Jul 2013 11:46:36 -0400 Subject: get_conf(): Make conf file optional. --- (limited to 'src') 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)" -- cgit v0.9.1