mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
hook.c: print invalid option name
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
b46bdeea14
commit
5b6526a2ad
@ -210,7 +210,7 @@ static int _alpm_hook_parse_cb(const char *file, int line,
|
||||
} else if(strcmp(key, "Exec") == 0) {
|
||||
STRDUP(hook->cmd, value, return 1);
|
||||
} else {
|
||||
error(_("hook %s line %d: invalid option %s\n"), file, line, value);
|
||||
error(_("hook %s line %d: invalid option %s\n"), file, line, key);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user