diff options
author | Alexei Colin <ac@alexeicolin.com> | 2014-12-28 22:51:30 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-12-28 23:45:31 +0100 |
commit | 715a37b0d6cbee360c00ee2e23e94a772a50a1f0 (patch) | |
tree | 9538649a654d0c114169f44211ab08557879e352 | |
parent | 9398ae7fcbc2af9c788089ba72ddcd610b8df3a9 (diff) | |
download | mkinitcpio-715a37b0d6cbee360c00ee2e23e94a772a50a1f0.tar.gz mkinitcpio-715a37b0d6cbee360c00ee2e23e94a772a50a1f0.tar.xz |
mkinitcpio: expose syntax errors in preset files
-rwxr-xr-x | mkinitcpio | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -261,7 +261,7 @@ process_preset() ( printf -v preset '%s/%s.preset' "$_d_presets" "$preset" fi - . "$preset" 2>/dev/null || die "Preset not found: \`%s'" "$preset" + . "$preset" || die "Failed to load preset: \`%s'" "$preset" # Use -m and -v options specified earlier (( _optquiet )) || preset_mkopts+=(-v) |