diff options
Diffstat (limited to 'src/commands/quit.rs')
-rw-r--r-- | src/commands/quit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/quit.rs b/src/commands/quit.rs index 2da6f6b..a22a883 100644 --- a/src/commands/quit.rs +++ b/src/commands/quit.rs @@ -15,7 +15,7 @@ impl Quit { } pub fn quit(context: &mut JoshutoContext) -> JoshutoResult<()> { - if context.worker.is_busy() { + if context.worker_is_busy() { Err(JoshutoError::new( JoshutoErrorKind::IOOther, String::from("operations running in background, use force_quit to quit"), |