From d8bd80406fda7a6256382ccfde534a3a1bde7e3c Mon Sep 17 00:00:00 2001 From: Emanuel Birge Date: Fri, 31 Jul 2020 09:04:21 +0200 Subject: [PATCH] sv-netmount: redirect stdout when checking $NETWORK_MANAGER status --- srcpkgs/sv-netmount/files/netmount/run | 2 +- srcpkgs/sv-netmount/template | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/sv-netmount/files/netmount/run b/srcpkgs/sv-netmount/files/netmount/run index 6214befa9c8..f00da44b28e 100755 --- a/srcpkgs/sv-netmount/files/netmount/run +++ b/srcpkgs/sv-netmount/files/netmount/run @@ -3,7 +3,7 @@ [ -r conf ] && . ./conf # Ensure the network manager is running -[ -z "$NETWORK_MANAGER" ] || sv check "$NETWORK_MANAGER" 2> /dev/null || exit 1 +[ -z "$NETWORK_MANAGER" ] || sv check "$NETWORK_MANAGER" 2>&1 /dev/null || exit 1 # If it's running or not in used - rc.local - discover default gateway if [ -z "$GATEWAY" ]; then diff --git a/srcpkgs/sv-netmount/template b/srcpkgs/sv-netmount/template index 3ee020cf237..eb39ced2c23 100644 --- a/srcpkgs/sv-netmount/template +++ b/srcpkgs/sv-netmount/template @@ -1,12 +1,12 @@ # Template file for 'sv-netmount' pkgname=sv-netmount version=0.1 -revision=2 +revision=3 +build_style="meta" short_desc="Service to mount/umount network filesystems from fstab" homepage="http://www.voidlinux.org/" maintainer="Olivier Mauras " license="GPL-2" -build_style="meta" depends="runit"