From aed19235490c0633251c7a5ade3689b1dfb60f71 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 4 Jan 2013 21:05:11 +0100 Subject: [PATCH] oops, this stupid mistake was essentially making /etc/plc.d/packages inoperant --- plc.d/packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plc.d/packages b/plc.d/packages index 5c59f30..6117538 100755 --- a/plc.d/packages +++ b/plc.d/packages @@ -122,7 +122,7 @@ case "$1" in # consider all subdirs in install-rpms by default, except the slice repos # use find instead of ls - for the corner case where the dir. is empty # (thanks Thomas Dreibholz for the heads up) - repositories=$(find /var/www/html/install-rpms -maxdepth 1 -mindepth 1 -type d \! -name 'slice-*' >& /dev/null) + repositories=$(find /var/www/html/install-rpms -maxdepth 1 -mindepth 1 -type d \! -name 'slice-*' 2> /dev/null) fi # filter out PRESERVE'd repos -- 2.43.0