diff options
-rwxr-xr-x | .builds/smoketest-seatd.sh | 2 | ||||
-rw-r--r-- | libseat/libseat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.builds/smoketest-seatd.sh b/.builds/smoketest-seatd.sh index 58a6eb4..f6f9732 100755 --- a/.builds/smoketest-seatd.sh +++ b/.builds/smoketest-seatd.sh @@ -4,7 +4,7 @@ # Start seatd # [ -f seatd.sock ] && sudo rm seatd.sock -sudo LIBSEAT_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/seatd & +sudo SEATD_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/seatd & # seatd is started in the background, so wait for it to come alive cnt=0 diff --git a/libseat/libseat.c b/libseat/libseat.c index e514d7f..00168c0 100644 --- a/libseat/libseat.c +++ b/libseat/libseat.c @@ -38,7 +38,7 @@ struct libseat *libseat_open_seat(struct libseat_seat_listener *listener, void * return NULL; } - char *loglevel = getenv("SEATD_LOGLEVEL"); + char *loglevel = getenv("LIBSEAT_LOGLEVEL"); enum libseat_log_level level = LIBSEAT_SILENT; if (loglevel != NULL) { if (strcmp(loglevel, "silent") == 0) { |