aboutsummaryrefslogtreecommitdiffstats
path: root/g13/g13.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g13/g13.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/g13/g13.c b/g13/g13.c
index 799fd6651..7744855c2 100644
--- a/g13/g13.c
+++ b/g13/g13.c
@@ -793,9 +793,10 @@ main ( int argc, char **argv)
{
if (argc != 1)
wrong_args ("--umount filename");
- err = GPG_ERR_NOT_IMPLEMENTED;
- log_error ("error unmounting container '%s': %s <%s>\n",
- *argv, gpg_strerror (err), gpg_strsource (err));
+ err = g13_umount_container (&ctrl, argv[0], NULL);
+ if (err)
+ log_error ("error unmounting container '%s': %s <%s>\n",
+ *argv, gpg_strerror (err), gpg_strsource (err));
}
break;