diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh index 35fdfa1849..9174810040 100755 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh @@ -83,9 +83,8 @@ detectOS() { fi # In addition to those, go around the linux space and query the widely # adopted /etc/os-release to detect linux variants - if [ -f /etc/os-release ] - then - source /etc/os-release + if [ -f /etc/os-release ]; then + . /etc/os-release fi }