ctdb-daemon: Set environment variable if running in interactive mode
authorAmitay Isaacs <amitay@gmail.com>
Tue, 26 Jun 2018 08:39:09 +0000 (18:39 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 4 Jul 2018 21:56:42 +0000 (23:56 +0200)
commit271407ab16f17282b3e63b6459d5511ec00c6d2d
treeee65d334effd7e6fd585ccb1e6b080a8f4ea17fd
parenta4393ddef763382ae0315792421cae0638949f29
ctdb-daemon: Set environment variable if running in interactive mode

CTDB_INTERACTIVE will be used to tell the other daemons if the ctdb daemon
is started in interactive mode.  This is primarily used only for testing.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdbd.c