diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-16 00:24:27 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-16 00:24:27 -0800 |
commit | a08450bcb6050cc630d87ae6d7d5f203f8eeca62 (patch) | |
tree | 1e49e402f2c5e50aadc8e4d2367f1d1abad0626d /proc.cpp | |
parent | a92d9d442b5b4f8b3de0c2eef3a9d7a498a36aa8 (diff) |
Changes to make autosuggestion smarter about not suggesting commands that could never succeed.
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -566,8 +566,9 @@ void proc_fire_event( const wchar_t *msg, int type, pid_t pid, int status ) event.arguments->resize(0); } -int job_reap( int interactive ) +int job_reap( bool interactive ) { + ASSERT_IS_MAIN_THREAD(); job_t *jnext; int found=0; |