X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=blobdiff_plain;f=plc.d%2Fpackages;fp=plc.d%2Fpackages;h=6117538a492e74c7911c51942dd23136295e1f92;hp=5c59f30e760715a87d9160183275fdfe07937113;hb=aed19235490c0633251c7a5ade3689b1dfb60f71;hpb=6cae74995c261c92961a09e9687271ce4e61d865 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