gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] Tiny glitch in mount script in 2.0.4


From: Brent A Nelson
Subject: [Gluster-devel] Tiny glitch in mount script in 2.0.4
Date: Tue, 14 Jul 2009 14:30:45 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On my hardy system, /bin/sh refers to dash. The new /sbin/mount.glusterfs still uses /bin/sh, but its function definitions have changed from "function-name ()" to "function function-name ()", which is bash syntax.

If I change the top line from "#!/bin/sh" to "#!/bin/bash", all is well. Otherwise, I get a syntax error at line 21. For systems where /bin/sh is a link to bash, this would not be a problem.

Thanks,

Brent




reply via email to

[Prev in Thread] Current Thread [Next in Thread]