From: Paul Hänsch Date: Thu, 24 Aug 2023 17:20:38 +0000 (+0200) Subject: prevent spamming error log X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=696420310ff6a3ac680935ef50985f0d37c61ad9;p=shellwiki prevent spamming error log --- diff --git a/handlers/60_move_rename_delete.sh b/handlers/60_move_rename_delete.sh index 3879e9b..47886c5 100755 --- a/handlers/60_move_rename_delete.sh +++ b/handlers/60_move_rename_delete.sh @@ -1,6 +1,6 @@ #!/bin/sh -l10n_immutablepage >/dev/null \ +l10n_immutablepage 2>&1 >/dev/null \ || l10n_immutablepage(){ #TRANSLATION cat <<-EOF

Immutable Page

@@ -33,7 +33,7 @@ case "${PATH_INFO}" in *) return 1;; esac -l10n_movepage >/dev/null \ +l10n_movepage 2>&1 >/dev/null \ || l10n_movepage(){ # TRANSLATION cat <<-EOF

Move Page

@@ -49,7 +49,7 @@ l10n_movepage >/dev/null \ EOF } -l10n_renamepage >/dev/null \ +l10n_renamepage 2>&1 >/dev/null \ || l10n_renamepage(){ # TRANSLATION cat <<-EOF

Rename Page

@@ -65,7 +65,7 @@ l10n_renamepage >/dev/null \ EOF } -l10n_deletepage >/dev/null \ +l10n_deletepage 2>&1 >/dev/null \ || l10n_deletepage(){ # TRANSLATION cat <<-EOF

Delete Page