]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: fix verify-vol-test, function keyword don't exist /bin/sh
authorAlain Spineux <alain@baculasystems.com>
Thu, 30 Dec 2021 13:33:04 +0000 (14:33 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:57 +0000 (13:56 +0200)
- function exists in bash but not in sh

regress/tests/verify-vol-test

index 12b560809f86565f95bf7f8dab6856b0912af5e7..19c5adfab9f749cf6ed0e6bc5418a3d6152f5a7b 100755 (executable)
@@ -74,7 +74,7 @@ END_OF_DATA
 #
 
 nb=0
-function print_info
+print_info()
 {
     nb=`expr $nb + 1`
     if [ $nb = 50 ]; then