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 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

View file

@ -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>"