]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Fix bug when applying SLURM, and configure the log level on empty dirs
authorpcarana <pc.moreno2099@gmail.com>
Thu, 4 Jun 2020 23:14:03 +0000 (18:14 -0500)
committerpcarana <pc.moreno2099@gmail.com>
Thu, 4 Jun 2020 23:14:03 +0000 (18:14 -0500)
commitefe8831b51c6ebeb6f3c1d12e60789352e6ff3d9
treed24a6610783019abf6f9ddd955d417890c957399
parent18ba55295f44231d49327e883e7833f8e714f0cb
Fix bug when applying SLURM, and configure the log level on empty dirs

+The bug was when a SLURM was successfully loaded, instead of stopping the interfal flow on success (a 'return' was needed) it continued to the error flow. This lead to worst errors later, such as segfault when a valid slurm was applied.
+Log error whenever the TALs configured directory is empty, log warning if the SLURM directory is empty.
src/common.c
src/common.h
src/object/tal.c
src/slurm/slurm_loader.c