summaryrefslogtreecommitdiffstats
path: root/sources/ogAdmServer.h
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2019-11-04 10:52:01 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-11-04 15:09:04 +0100
commit8082efd6deab856d21531f14aa32ae0eba4baacb (patch)
tree6f2100c82b7932e94d85f0f831feeb2ebfc3f6d6 /sources/ogAdmServer.h
parent2bc2490d00eb28574ddea6ea871842e8fe28469e (diff)
#924 Always check the result of a command to avoid errors
Irina reports that if you try to restore an image without success (for example: the disk does not have enough space), the database changes as if no error would happen. So you see the computer in the WebConsole with an image/OS that, actually, does not have. The bug is caused because the function respuestaEstandar only checks the result of a command if it has a session. So the problem is that the commands which use respuestaEstandar without a session can return an error, but the ogAdmServer always works as no error would occur. This commit changes the behaviour of respuestaEstadar to always check the result of a command, whether it has a session or not.
Diffstat (limited to 'sources/ogAdmServer.h')
0 files changed, 0 insertions, 0 deletions