diff options
author | Christian Pointner <equinox@helsinki.at> | 2009-11-13 21:31:44 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2009-11-13 21:31:44 (GMT) |
commit | ee8692b79ebfb35bd58aad740e5cb1328108e38e (patch) | |
tree | 480fbfe3e3d3420915ac89056d12d68db8103add | |
parent | 07bcebb74f5ca9ecb69104a0fba7f65117be70b9 (diff) |
fixed progname at 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; |