Index: src/checkin.c ================================================================== --- src/checkin.c +++ src/checkin.c @@ -19,10 +19,11 @@ ** from the local repository. */ #include "config.h" #include "checkin.h" #include +#include /* ** Change filter options. */ enum { @@ -444,10 +445,14 @@ ** --no-merge Do not display merge contributors. ** ** See also: extras, ls */ void status_cmd(void){ + if (pledge("stdio rpath wpath cpath id flock tty", "") != 0) { + fossil_exit(1); + } + /* Affirmative and negative flag option tables. */ static const struct { const char *option; /* Flag name. */ unsigned mask; /* Flag bits. */ } flagDefs[] = {