diff options
Diffstat (limited to 'builtins/common.c')
-rw-r--r-- | builtins/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/common.c b/builtins/common.c index 6ba641b..f02e99c 100644 --- a/builtins/common.c +++ b/builtins/common.c @@ -612,7 +612,7 @@ get_job_by_name (name, flags) match = STREQN (p->command, name, cl); } else if (flags & JM_SUBSTRING) - match = strindex (p->command, name) != (char *)0; + match = strcasestr (p->command, name) != (char *)0; else match = STREQN (p->command, name, wl); |