1
0
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:
Andrew Gregory 2015-10-27 00:47:31 -04:00 committed by Allan McRae
parent b46bdeea14
commit 5b6526a2ad

View File

@ -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);
}
}