diff options
-rw-r--r-- | options.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -259,8 +259,14 @@ void options_default(options_t* opt) if(!opt) return; +#ifdef OPT_SWITCHCTL + opt->progname_ = strdup("switchctl"); +#endif +#ifdef OPT_SERIALCLIENT + opt->progname_ = strdup("serialclient"); +#endif + /* common */ - opt->progname_ = strdup("rhctl"); opt->daemonize_ = 1; opt->username_ = NULL; opt->groupname_ = NULL; |