diff --git a/src/common/xlua.c b/src/common/xlua.c
index 18b425e7b9a82e406e18816fec47477c356a7451..1a66ed8a21b46fee73e24ce50d4e477c8a86fed6 100644
--- a/src/common/xlua.c
+++ b/src/common/xlua.c
@@ -57,20 +57,20 @@ int xlua_dlopen(void)
 		return SLURM_ERROR;
 	} else if (!dlopen("liblua.so",       RTLD_NOW | RTLD_GLOBAL) &&
 #if LUA_VERSION_NUM == 503
-	    !dlopen("liblua-5.3.so",   RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua5.3.so",    RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua5.3.so.0",  RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua.so.5.3",   RTLD_NOW | RTLD_GLOBAL)
+		   !dlopen("liblua-5.3.so",   RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua5.3.so",    RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua5.3.so.0",  RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua.so.5.3",   RTLD_NOW | RTLD_GLOBAL)
 #elif LUA_VERSION_NUM == 502
-	    !dlopen("liblua-5.2.so",   RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua5.2.so",    RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua5.2.so.0",  RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua.so.5.2",   RTLD_NOW | RTLD_GLOBAL)
+		   !dlopen("liblua-5.2.so",   RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua5.2.so",    RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua5.2.so.0",  RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua.so.5.2",   RTLD_NOW | RTLD_GLOBAL)
 #else
-	    !dlopen("liblua-5.1.so",   RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua5.1.so",    RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua5.1.so.0",  RTLD_NOW | RTLD_GLOBAL) &&
-	    !dlopen("liblua.so.5.1",   RTLD_NOW | RTLD_GLOBAL)
+		   !dlopen("liblua-5.1.so",   RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua5.1.so",    RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua5.1.so.0",  RTLD_NOW | RTLD_GLOBAL) &&
+		   !dlopen("liblua.so.5.1",   RTLD_NOW | RTLD_GLOBAL)
 #endif
 		) {
 		return error("Failed to open liblua.so: %s", dlerror());