|
|
| version 1.29, 2025/04/03 01:41:02 | version 1.30, 2025/04/03 20:48:14 |
|---|---|
| Line 24 | Line 24 |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | * $Log$ |
| * Revision 1.30 2025/04/03 20:48:14 snw | |
| * Improve daemon error diagnostics and bump to 0.63.0-rc3 | |
| * | |
| * Revision 1.29 2025/04/03 01:41:02 snw | * Revision 1.29 2025/04/03 01:41:02 snw |
| * New features frozen; prepare 0.63.0-rc1 | * New features frozen; prepare 0.63.0-rc1 |
| * | * |
| Line 1305 int fm_daemonctl (short action, short ob | Line 1308 int fm_daemonctl (short action, short ob |
| char *savptr; | char *savptr; |
| int result; | int result; |
| long epid; | long epid; |
| int retval; | |
| retval = 0; | |
| switch (action) { | switch (action) { |
| case ACT_START: | case ACT_START: |
| Line 1400 int fm_daemonctl (short action, short ob | Line 1405 int fm_daemonctl (short action, short ob |
| } | } |
| else { | else { |
| fprintf (stderr, "[FAIL]\n"); | fprintf (stderr, "[FAIL]\n"); |
| retval++; | |
| } | } |
| break; | break; |
| Line 1411 int fm_daemonctl (short action, short ob | Line 1417 int fm_daemonctl (short action, short ob |
| } | } |
| else { | else { |
| fprintf (stderr, "[FAIL]\n"); | fprintf (stderr, "[FAIL]\n"); |
| retval++; | |
| } | } |
| } | } |
| else { | else { |
| fprintf (stderr, "[FAIL]\n"); | fprintf (stderr, "[FAIL]\n"); |
| retval++; | |
| } | } |
| break; | break; |
| Line 1435 int fm_daemonctl (short action, short ob | Line 1443 int fm_daemonctl (short action, short ob |
| } while ((cur_env = strtok_r (NULL, ",", &savptr)) != NULL); | } while ((cur_env = strtok_r (NULL, ",", &savptr)) != NULL); |
| free (envlist); | free (envlist); |
| exit (0); | exit (retval); |
| } /* fm_daemonctl() */ | } /* fm_daemonctl() */ |