From 1d9d9e30f5ca59cb0bea7726084da1bd1ea9f28f Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 10 Apr 2012 00:14:01 -0300 Subject: filesystem: modprobe.d.usb-load-ehci-first fixed --- libre/filesystem/filesystem.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libre/filesystem/filesystem.install') diff --git a/libre/filesystem/filesystem.install b/libre/filesystem/filesystem.install index 38d21a85b..8cef64bb6 100644 --- a/libre/filesystem/filesystem.install +++ b/libre/filesystem/filesystem.install @@ -10,14 +10,14 @@ post_install() { # args: [options] _addgroup() { - if ! getent group "$1"; then + if ! getent group "$1" >/dev/null; then groupadd "$@" >/dev/null fi } # args: [options] _adduser() { - if ! getent passwd "$1"; then + if ! getent passwd "$1" >/dev/null; then useradd "$@" >/dev/null fi } -- cgit v1.2.3-54-g00ecf