Skip to content

Commit

Permalink
some messages should have gone to stdout instead of stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
luckman212 committed Oct 21, 2024
1 parent 1f07e58 commit 73dfe6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions screencapture-nag-remover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ _nagblock() {
return 1
fi
APP_NAME=$(_bundleid_to_name "$1")
echo >&2 "disabling nag for $1${APP_NAME:+ ($APP_NAME)}"
echo "disabling nag for $1${APP_NAME:+ ($APP_NAME)}"
/usr/bin/defaults write "$PLIST" "$1" -dict \
kScreenCaptureApprovalLastAlerted -date "$FUTURE" \
kScreenCaptureApprovalLastUsed -date "$FUTURE"
Expand All @@ -75,7 +75,7 @@ _nagblock() {
break
fi
done
echo >&2 "disabling nag for ${APP_NAME:-$1}"
echo "disabling nag for ${APP_NAME:-$1}"
/usr/bin/defaults write "$PLIST" "$1" -date "$FUTURE"
(( c++ ))
return 0
Expand Down

0 comments on commit 73dfe6c

Please sign in to comment.