diff --git a/.gitignore b/.gitignore index 4f884b1f2..e5309d6b0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ junit*.xml debug.test /output/ coverage.out +.idea/ diff --git a/Makefile b/Makefile index eb297f707..053c0af41 100644 --- a/Makefile +++ b/Makefile @@ -65,9 +65,9 @@ IMAGE:=$(REGISTRY)/node-problem-detector:$(TAG) # support needs libsystemd-dev or libsystemd-journal-dev. ENABLE_JOURNALD?=1 -ifeq ($(go env GOHOSTOS), darwin) +ifeq ($(shell go env GOHOSTOS), darwin) ENABLE_JOURNALD=0 -else ifeq ($(go env GOHOSTOS), windows) +else ifeq ($(shell go env GOHOSTOS), windows) ENABLE_JOURNALD=0 endif