aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/g10.c')
-rw-r--r--g10/g10.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 1c542c8f5..7a1b624f3 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -1361,8 +1361,10 @@ main( int argc, char **argv )
case oTempDir: opt.temp_dir=pargs.r.ret_str; break;
case oExecPath:
#ifndef FIXED_EXEC_PATH
- if(set_exec_path(pargs.r.ret_str))
+ if(set_exec_path(pargs.r.ret_str,0))
log_error(_("unable to set exec-path to %s\n"),pargs.r.ret_str);
+ else
+ opt.exec_path_set=1;
#endif
break;
case oNotation: