aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-03-21 14:09:19 +0100
committerAndreas Schneider <asn@samba.org>2019-03-21 14:09:19 +0100
commitcdeda40cab75f011cb826d0955a8db0b3cf9dbf1 (patch)
tree4721ad932635150b0684eb0adce54c953842dbe9 /src
parenta3a3dcac39fd9b477c497810f8c1512a2f449b8e (diff)
downloadsocket_wrapper-cdeda40cab75f011cb826d0955a8db0b3cf9dbf1.tar.gz
socket_wrapper-cdeda40cab75f011cb826d0955a8db0b3cf9dbf1.tar.xz
socket_wrapper-cdeda40cab75f011cb826d0955a8db0b3cf9dbf1.zip
swrap: Print a warning if SOCKET_WRAPPER_DIR is not set
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'src')
-rw-r--r--src/socket_wrapper.c1
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;
}