From 2a434757056583770a633e9c90d20d67b83be288 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 | 2 +- 2 files changed, 2 insertions(+), 2 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..141cb95fe49 100644 --- a/srcpkgs/sv-netmount/template +++ b/srcpkgs/sv-netmount/template @@ -1,7 +1,7 @@ # Template file for 'sv-netmount' pkgname=sv-netmount version=0.1 -revision=2 +revision=3 short_desc="Service to mount/umount network filesystems from fstab" homepage="http://www.voidlinux.org/" maintainer="Olivier Mauras "