From 5b8e9b7443da0ed73437ff64e48be2f80f4b90f4 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sun, 5 May 2024 12:29:18 -0400 Subject: [PATCH] runit-void: fix conditional in patch --- srcpkgs/runit-void/patches/blkdev-write-mounted.patch | 2 +- srcpkgs/runit-void/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/runit-void/patches/blkdev-write-mounted.patch b/srcpkgs/runit-void/patches/blkdev-write-mounted.patch index 4dc8f1ca62f..89fd44a33c3 100644 --- a/srcpkgs/runit-void/patches/blkdev-write-mounted.patch +++ b/srcpkgs/runit-void/patches/blkdev-write-mounted.patch @@ -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 diff --git a/srcpkgs/runit-void/template b/srcpkgs/runit-void/template index 9b99964752e..9994f3235fb 100644 --- a/srcpkgs/runit-void/template +++ b/srcpkgs/runit-void/template @@ -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 "