dont /dev/null variable, oops

This commit is contained in:
kjeld Schouten-Lebbing 2020-05-24 23:12:31 +02:00
parent 4512edff0d
commit 13be3ca313

View File

@ -28,7 +28,7 @@ git remote add upstream https://github.com/jailmanager/jailman.git > /dev/null 2
echo "checking for updates using Branch: $1" echo "checking for updates using Branch: $1"
git fetch upstream > /dev/null 2>&1 git fetch upstream > /dev/null 2>&1
git update-index -q --refresh > /dev/null 2>&1 git update-index -q --refresh > /dev/null 2>&1
CHANGED=$(git diff --name-only "$1") > /dev/null 2>&1 CHANGED=$(git diff --name-only "$1")
if [ -n "$CHANGED" ]; if [ -n "$CHANGED" ];
then then
echo "script requires update" echo "script requires update"