* mu: some improvement in script handling

This commit is contained in:
djcb
2013-07-23 22:23:27 +03:00
parent b7219aaf82
commit 885554757a
3 changed files with 9 additions and 3 deletions

View File

@ -185,8 +185,8 @@ mu_cmd_script (MuConfig *opts, GError **err)
msi = mu_script_find_script_with_name (scripts, opts->script);
if (!msi) {
mu_util_g_set_error (err, MU_ERROR_IN_PARAMETERS,
"script not found");
mu_util_g_set_error (err, MU_ERROR_SCRIPT_NOT_FOUND,
"command or script not found");
goto leave;
}