Fix aws startup check preventing keydb from starting

This commit is contained in:
Alexandre Chichmanian 2023-05-17 00:12:07 -04:00 committed by Malavan Sotheeswaran
parent ef8b1bf373
commit 16e8469316

View File

@ -2468,7 +2468,7 @@ static int isValidS3Bucket(char *s3bucket, const char **err) {
if (pid == 0)
{
execlp("aws", "aws", "s3", "ls", s3bucket);
execlp("aws", "aws", "s3", "ls", s3bucket, nullptr);
exit(EXIT_FAILURE);
}
else