diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi index a8396d9..e355d11 100755 --- a/webbuild/webbuild-cgi +++ b/webbuild/webbuild-cgi @@ -1,7 +1,7 @@ #!/bin/bash # # webbuild cgi script -# Copyright (c) 2012-2023 by Silvan Calarco +# Copyright (c) 2012-2024 by Silvan Calarco # . /usr/share/autodist/webbuild-functions . /usr/share/autodist/webbuild-functions-private @@ -400,7 +400,7 @@ if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshjobs" ]; then NOTIFIED= if [ "${ORIGRETCODE: -1}" == "+" ]; then NOTIFIED=1 - RETCODE="${ORIGRETCODE::-1}" + RETCODE="${ORIGRETCODE/+*}" else RETCODE=$ORIGRETCODE fi