runit-void: fix conditional in patch

This commit is contained in:
classabbyamp 2024-05-05 12:29:18 -04:00
parent a822cc8deb
commit 5b8e9b7443
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ index bb7eac0..546927c 100644
fsck -A -T -a -t noopts=_netdev $FORCEFSCK
- if [ $? -gt 1 ]; then
+ ret="$?"
+ if [ "$ret" -ne 0 ] && [ "$ret" -ne 8 ]; then
+ if [ "$ret" -gt 1 ] && [ "$ret" -ne 8 ]; then
emergency_shell
fi
fi

View File

@ -1,7 +1,7 @@
# Template file for 'runit-void'
pkgname=runit-void
version=20231124
revision=2
revision=3
build_style=gnu-makefile
short_desc="Void Linux runit scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"