diff options
| author | Andreas Schneider <asn@samba.org> | 2019-03-21 14:09:19 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2019-03-21 14:41:33 +0100 |
| commit | b8dc4da6cb4903fce8f7b468c17caf12e3394c6b (patch) | |
| tree | 4721ad932635150b0684eb0adce54c953842dbe9 | |
| parent | a3a3dcac39fd9b477c497810f8c1512a2f449b8e (diff) | |
| download | socket_wrapper-b8dc4da6cb4903fce8f7b468c17caf12e3394c6b.tar.gz socket_wrapper-b8dc4da6cb4903fce8f7b468c17caf12e3394c6b.tar.xz socket_wrapper-b8dc4da6cb4903fce8f7b468c17caf12e3394c6b.zip | |
swrap: Print a warning if SOCKET_WRAPPER_DIR is not set
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
| -rw-r--r-- | src/socket_wrapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index 7841c85..a09851e 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -1288,6 +1288,7 @@ static char *socket_wrapper_dir(void) char *s = getenv("SOCKET_WRAPPER_DIR"); if (s == NULL) { + SWRAP_LOG(SWRAP_LOG_WARN, "SOCKET_WRAPPER_DIR not set\n"); return NULL; } |
