runit-void: fix conditional in patch
This commit is contained in:
@@ -21,7 +21,7 @@ index bb7eac0..546927c 100644
|
|||||||
fsck -A -T -a -t noopts=_netdev $FORCEFSCK
|
fsck -A -T -a -t noopts=_netdev $FORCEFSCK
|
||||||
- if [ $? -gt 1 ]; then
|
- if [ $? -gt 1 ]; then
|
||||||
+ ret="$?"
|
+ ret="$?"
|
||||||
+ if [ "$ret" -ne 0 ] && [ "$ret" -ne 8 ]; then
|
+ if [ "$ret" -gt 1 ] && [ "$ret" -ne 8 ]; then
|
||||||
emergency_shell
|
emergency_shell
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'runit-void'
|
# Template file for 'runit-void'
|
||||||
pkgname=runit-void
|
pkgname=runit-void
|
||||||
version=20231124
|
version=20231124
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Void Linux runit scripts"
|
short_desc="Void Linux runit scripts"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
|
|||||||
Reference in New Issue
Block a user