Revert "bug 542 files added/modified should contain license"
This reverts commit 9d25cf8975b90133a9c97343b73373eba5205bd7.
Change-Id: I3539a7ba5758dcdd0254d7abaad862e89dffdfb0
Signed-off-by: madavi <jm00553988@techmahindra.com>
diff --git a/tools/license_scan.sh b/tools/license_scan.sh
index b9f926a..f7a4ab7 100755
--- a/tools/license_scan.sh
+++ b/tools/license_scan.sh
@@ -17,8 +17,7 @@
# Change log:
# 1. Bug 722 : Jayant Madavi : JM00553988@techmahindra.com : Enhancement to use new fossology server. Had to change the variable name at # couple of places, while scanning the variable name was adding curl as a license.
-# 2. Bug 542 : Jayant Madavi : JM00553988@techmahindra.com : 24-jul-2019 : Enhancement to raise exit in case files modified or added does # not contain license.
-# 3.
+# 2.
echo GERRIT BRANCH is $GERRIT_BRANCH
dpkg -l wget &>/dev/null ||sudo apt-get install -y wget
@@ -75,8 +74,7 @@
fi
if [ $nolicense -gt 0 ]; then
- echo "FATAL: Unlicensed files found"
- exit 2
+ echo "WARNING: Unlicensed files found"
fi
exit 0