mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
testing: Abort kernel build if patch can't be applied
This commit is contained in:
parent
613cd016ee
commit
a6312f2ae9
@ -37,8 +37,9 @@ then
|
||||
then
|
||||
log_action "Applying kernel patch"
|
||||
bzcat $KERNELPATCH | patch -d $KERNELDIR -p1 >>$LOGFILE 2>&1
|
||||
log_status $?
|
||||
[ $? -eq 0 ] || exit 1
|
||||
status=$?
|
||||
log_status $status
|
||||
[ $status -eq 0 ] || exit 1
|
||||
fi
|
||||
fi
|
||||
cd $KERNELDIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user