diff options
author | bartOssh <blenart@eagleeyenetworks.com> | 2020-03-02 17:44:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 11:44:46 -0500 |
commit | 4a47ffa5c455be213523cb1a7211a0a454b5fcf8 (patch) | |
tree | 6359cf99d149461ae1435481cc0c919ee357b36e /cli/ops/files.rs | |
parent | c14cc84a85224870d2188df1a3741bf02eb8c5da (diff) |
seek should return cursor position (#4211)
Diffstat (limited to 'cli/ops/files.rs')
-rw-r--r-- | cli/ops/files.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/files.rs b/cli/ops/files.rs index 916cbdc69..60fc452a3 100644 --- a/cli/ops/files.rs +++ b/cli/ops/files.rs @@ -204,8 +204,8 @@ fn op_seek( let mut file = futures::executor::block_on(tokio_file.try_clone())?; let fut = async move { - file.seek(seek_from).await?; - Ok(json!({})) + let pos = file.seek(seek_from).await?; + Ok(json!(pos)) }; if args.promise_id.is_none() { |