summaryrefslogtreecommitdiffstats
path: root/src/main.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 13:36:59 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-14 13:36:59 (EDT)
commite519f3bf4f9df459023ab72cce7289c998764dab (patch)
tree67410b31d5201d4b6cfb07dd263eddcb0f7734a6 /src/main.sh
parente9b76663cbb4e68f40e5f1bab0bafab3d5ed745f (diff)
init(): Initialize signal handlers instead of main()
Diffstat (limited to 'src/main.sh')
-rw-r--r--src/main.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.sh b/src/main.sh
index 3b10ef7..3aa9e08 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -142,6 +142,7 @@ _get_conf()
init()
{
+ _init_sigs
_lock
_get_conf
}
@@ -166,7 +167,6 @@ main()
builddir=''
fi
- _init_sigs
load_locale
_get_options "${@}"