aboutsummaryrefslogtreecommitdiff
path: root/src/cli/stasis
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/stasis')
-rw-r--r--src/cli/stasis/system_requirements.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/cli/stasis/system_requirements.c b/src/cli/stasis/system_requirements.c
index b531ae1..a48c113 100644
--- a/src/cli/stasis/system_requirements.c
+++ b/src/cli/stasis/system_requirements.c
@@ -10,72 +10,72 @@ void check_system_env_requirements() {
int status = 0;
status = envctl_register(&globals.envctl, STASIS_ENVCTL_PASSTHRU, NULL, "TMPDIR");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_PASSTHRU, NULL, "STASIS_ROOT");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_PASSTHRU, NULL, "STASIS_SYSCONFDIR");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_PASSTHRU, NULL, "STASIS_CPU_COUNT");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REQUIRED | STASIS_ENVCTL_REDACT, callback_except_gh, "STASIS_GH_TOKEN");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REQUIRED, callback_except_jf, "STASIS_JF_ARTIFACTORY_URL");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REDACT, NULL, "STASIS_JF_ACCESS_TOKEN");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_PASSTHRU, NULL, "STASIS_JF_USER");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REDACT, NULL, "STASIS_JF_PASSWORD");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REDACT, NULL, "STASIS_JF_SSH_KEY_PATH");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REDACT, NULL, "STASIS_JF_SSH_PASSPHRASE");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REDACT, NULL, "STASIS_JF_CLIENT_CERT_CERT_PATH");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REDACT, NULL, "STASIS_JF_CLIENT_CERT_KEY_PATH");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}
status = envctl_register(&globals.envctl, STASIS_ENVCTL_REQUIRED, callback_except_jf, "STASIS_JF_REPO");
- if (!status) {
+ if (status) {
SYSERROR("envctl_register failed");
exit(1);
}