aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-06-23 01:16:27 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-06-23 01:16:27 -0400
commit9188d893fb00d11a0974582ab1575670777d96cf (patch)
tree665e36e7b31e8fa9c7c74827687fbed83081368a /include
parentfa17600efcd09bf74954e728047fded3ff0bd0cd (diff)
downloadspmc-9188d893fb00d11a0974582ab1575670777d96cf.tar.gz
Handle unpacking when running as root:
* Check available tar programs and pick one to use
Diffstat (limited to 'include')
-rw-r--r--include/conf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/conf.h b/include/conf.h
index 7952eed..0d16f08 100644
--- a/include/conf.h
+++ b/include/conf.h
@@ -39,8 +39,10 @@ typedef struct {
char *repo_target;
char *user_config_basedir;
char *user_config_file;
+ char *tar_program;
int verbose;
int prompt_user;
+ int privileged;
ConfigItem **config;
struct utsname sysinfo;
SPM_Hierarchy fs;