aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/g10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/g10.c b/g10/g10.c
index a27bd19b6..345ccd5ae 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -230,7 +230,7 @@ main( int argc, char **argv )
case aSign: /* sign the given file */
if( argc > 1 )
usage(1);
- if( (rc = sign_file(fname, 0, locusr)) )
+ if( (rc = sign_file(fname, opt.detached_sig, locusr)) )
log_error("sign_file('%s'): %s\n", fname_print, g10_errstr(rc) );
break;