]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.lock
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / functions / functions.lock
index 72414054b38584d5bf76a24c1264542c2952e502..136a223c443c883535a24f2d327f91ed40a7607b 100644 (file)
@@ -19,7 +19,7 @@
 #                                                                             #
 ###############################################################################
 
-function lock_acquire() {
+lock_acquire() {
        local lockfile="${1}"
        assert isset lockfile
 
@@ -48,7 +48,7 @@ function lock_acquire() {
        chmod 600 ${lockfile}
 }
 
-function lock_release() {
+lock_release() {
        local lockfile="${1}"
 
        log DEBUG "Releasing lock '${lockfile}'."