diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-07 15:09:53 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-06-07 15:09:53 +0000 |
commit | 577824cadb88a52417c8a551d1aa6b70b2224b22 (patch) | |
tree | c4dd39aa75f88d08e399e7e8126280b83657e59f /pw/pwupd.h | |
parent | e6c20d74e9c630e7116f84d3712c178369b10c96 (diff) | |
download | pw-darwin-577824cadb88a52417c8a551d1aa6b70b2224b22.tar.gz pw-darwin-577824cadb88a52417c8a551d1aa6b70b2224b22.tar.zst pw-darwin-577824cadb88a52417c8a551d1aa6b70b2224b22.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; }; |