sequence-patch: Drop redundant test in apply_fast_patches --- Jeff, this cleanup is so obvious that I prefer to ask before I apply it: did you have another condition in mind for the inner test and forgot to edit it after copy-and-paste maybe? scripts/sequence-patch.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) --- a/scripts/sequence-patch.sh +++ b/scripts/sequence-patch.sh @@ -79,12 +79,10 @@ apply_fast_patches() { STATUS=$? if [ $STATUS -ne 0 ]; then - if [ $STATUS -ne 0 ]; then - [ -n "$QUIET" ] && cat $LAST_LOG - echo "All-in-one patch failed (not rolled back)." - echo "Logfile: $LAST_LOG" - status=1 - fi + [ -n "$QUIET" ] && cat $LAST_LOG + echo "All-in-one patch failed (not rolled back)." + echo "Logfile: $LAST_LOG" + status=1 else rm -f $LAST_LOG fi -- Jean Delvare Suse L3 Support -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org