Save the subcommand pointer in a global variable.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 17 Oct 2017 17:11:07 +0000 (19:11 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 28 Oct 2017 09:25:12 +0000 (11:25 +0200)
commit3f26d08dbcdc2dcafa6f6ca73421516254decd94
treed3d3a75f87df0b623f9b751d9257da3c56fea1d9
parentf38f86c1d4695a7016d5002e979c4f68ed12fb69
Save the subcommand pointer in a global variable.

This is needed for subcommand sensitive logging which will be
introduced in a subsequent commit. For now it allows to drop the
argument of check_config(), which is good given that handle_sighup()
already played dirty games by "knowing" it is only called from the
run subcommand.
dss.c