diff --git a/rpmbuild/SPECS/joinup.spec b/rpmbuild/SPECS/joinup.spec
index 0ca72f7a9592e482b90cb8332e9f5e0f02a7e9d5..e5cc1f1b7220fc69736e3c02ae19d19543207b05 100644
--- a/rpmbuild/SPECS/joinup.spec
+++ b/rpmbuild/SPECS/joinup.spec
@@ -69,7 +69,7 @@ ls -td1 Join* | tail -n +4 | xargs sudo rm -rf
 
 IS_USER=`cat /etc/passwd |grep '%{_prefix}' | tr ":" "\n" | head -n 1`
 
-if [ $IS_USER ];
+if [ $IS_USER ]; then
   echo "Changing access rights of deployed app !"
   chown $IS_USER:apache %{name}-%{version} -R
 fi