From 3cbd94f5f69e2bf26457421eff526dbbae989704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Thu, 24 Apr 2008 16:10:27 +0000 Subject: [PATCH] correctly declare functions, we were missing parenthesis --- src/fixperms.sh | 2 +- src/sqlbackup.sh | 2 +- tools/top_ftp_users | 4 ++-- tools/top_http_users | 4 ++-- tools/top_mysql_users | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/fixperms.sh b/src/fixperms.sh index e7ccd352..4110f9ae 100755 --- a/src/fixperms.sh +++ b/src/fixperms.sh @@ -47,7 +47,7 @@ fi . "$CONFIG_FILE" -doone { +doone() { read GID LOGIN while [ "$LOGIN" ] do diff --git a/src/sqlbackup.sh b/src/sqlbackup.sh index 10dd012a..cd4518e1 100755 --- a/src/sqlbackup.sh +++ b/src/sqlbackup.sh @@ -29,7 +29,7 @@ set -e -dobck { +dobck() { local ext local i local old_ifs diff --git a/tools/top_ftp_users b/tools/top_ftp_users index 7234ed21..c726fc0a 100755 --- a/tools/top_ftp_users +++ b/tools/top_ftp_users @@ -74,7 +74,7 @@ done #------------------------- -set_messages +set_messages() #------------------------- { # Language-dependent messages @@ -95,7 +95,7 @@ set_messages #------------------------- -trap_EXIT +trap_EXIT() #------------------------- { # Does some cleaning diff --git a/tools/top_http_users b/tools/top_http_users index f5e62fba..d765fb67 100755 --- a/tools/top_http_users +++ b/tools/top_http_users @@ -74,7 +74,7 @@ done #------------------------- -set_messages +set_messages() #------------------------- { # Language-dependent messages @@ -106,7 +106,7 @@ set_messages #------------------------- -trap_EXIT +trap_EXIT() #------------------------- { # Does some cleaning diff --git a/tools/top_mysql_users b/tools/top_mysql_users index 61f325fe..ceae2c5a 100755 --- a/tools/top_mysql_users +++ b/tools/top_mysql_users @@ -73,7 +73,7 @@ done #------------------------- -set_messages +set_messages() #------------------------- { # Language-dependent messages @@ -93,7 +93,7 @@ set_messages #------------------------- -trap_EXIT +trap_EXIT() #------------------------- { # Does some cleaning