           if err
             callback err
           else
-            # @removeMount options,(err,res)->
-            callback null,res
+            fs.rmdir options.mountpoint, (err)->
+              # not a big issue
+              if err?
+                console.warn "Couldn't remove mountpoint #{options.mountpoint}: #{err.message}"
+              else
+                console.log "mountpoint #{options.mountpoint} has been removed" 
+            @removeMountConf options,(err,res)->
+              callback err if err?
+              callback null,res
 
   # Safe
   readMountInfo: (options, callback)->

          else
            log.info info = "[OK] config successfully updated"
            callback null, info

  mountSshDriveWithKey: (options, callback)->
    # mount SSHfs to the user's home directory

                callback err


module.exports = mounter
