On Wed, 26 Aug 2009 11:14:40 -0500
Corey Wright <[email protected]> wrote:
> Tags: patch
...
> in creating a patch i realized that setting Tiger_FSScan_NonLocal to
> "cgroups" works around the problem (which i did anyways as gen_mounts
> doesn't categorize), but doesn't solve it.
stupid me, i reviewed my bug report and accompanying patch and realized
that i sent the patch for my workaround, not the patch for the bashism in
gen_mounts, so here is the correct patch.
corey
--
[email protected]
--- /usr/lib/tiger/systems/Linux/2/gen_mounts.orig 2008-09-08 21:22:17.000000000 -0500
+++ /usr/lib/tiger/systems/Linux/2/gen_mounts 2009-08-26 10:06:59.000000000 -0500
@@ -208,7 +208,7 @@ localfs()
# The rest we warn about
if [ "$LOCAL" -eq 2 ] ; then
- if [ -z "$Tiger_FSScan_WarnUnknown" ] || [ "$Tiger_FSScan_WarnUnknown" == "Y" ] ; then
+ if [ -z "$Tiger_FSScan_WarnUnknown" ] || [ "$Tiger_FSScan_WarnUnknown" = "Y" ] ; then
echo "--CONFIG-- [con010c] Filesystem '$1' used by '$2' is not recognised as a valid filesystem" >&2
fi
LOCAL=1