diff options
author | 2015-06-07 15:09:53 +0000 | |
---|---|---|
committer | 2015-06-07 15:09:53 +0000 | |
commit | 926db19a96ef2f0029e6f3d6bd6c1d5c5e7aeca3 (patch) | |
tree | 092aef05bff37f5b8f1d7d0cc964d06744b9a2ed /pw/pwupd.h | |
parent | 5d2f6aa9d7d2747fbb459bfc07370a4e4c6b289c (diff) | |
download | pw-darwin-926db19a96ef2f0029e6f3d6bd6c1d5c5e7aeca3.tar.gz pw-darwin-926db19a96ef2f0029e6f3d6bd6c1d5c5e7aeca3.tar.zst pw-darwin-926db19a96ef2f0029e6f3d6bd6c1d5c5e7aeca3.zip |
Handle dryrun (-N) via global pwconf
Diffstat (limited to 'pw/pwupd.h')
-rw-r--r-- | pw/pwupd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -35,6 +35,7 @@ #include <pwd.h> #include <grp.h> +#include <stdbool.h> #if defined(__FreeBSD__) #define RET_SETGRENT int @@ -82,6 +83,7 @@ struct userconf { struct pwconf { char rootdir[MAXPATHLEN]; char etcpath[MAXPATHLEN]; + bool dryrun; struct userconf *userconf; }; |