summaryrefslogtreecommitdiffstats
path: root/src/sudo.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2019-04-29 19:22:57 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2019-04-29 19:22:57 +0200
commitb45cb7fb4556d8822751c9fe5e29b028c747c804 (patch)
tree58c19e1da86cb1ac74dd7964af37660fbc549db8 /src/sudo.h
parentbfe4aad16cfc99f142c75f914d536d10b551188b (diff)
Avoid two logging prompts when using sudo.
Close https://github.com/cgsecurity/testdisk/issues/61
Diffstat (limited to 'src/sudo.h')
-rw-r--r--src/sudo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sudo.h b/src/sudo.h
index fce6f3c..d16ee66 100644
--- a/src/sudo.h
+++ b/src/sudo.h
@@ -23,7 +23,7 @@
#ifdef __cplusplus
extern "C" {
#endif
-void run_sudo(int argc, char **argv);
+void run_sudo(const int argc, char **argv, const int create_log);
#ifdef __cplusplus
} /* closing brace for extern "C" */
#endif