check return of system ... less warnings
This commit is contained in:
parent
883cf23ceb
commit
808f15957b
|
@ -23,7 +23,8 @@ e_deskenv_init(void)
|
||||||
{
|
{
|
||||||
#if 1
|
#if 1
|
||||||
snprintf(buf2, sizeof(buf2), "xrdb -override %s", buf);
|
snprintf(buf2, sizeof(buf2), "xrdb -override %s", buf);
|
||||||
system(buf2);
|
if (system(buf2) != 0)
|
||||||
|
fprintf(stderr, "Execution of [%s] did not exit cleanly\n", buf2);
|
||||||
#else
|
#else
|
||||||
// while this SHOULD work.. it ends up with mysterious problems
|
// while this SHOULD work.. it ends up with mysterious problems
|
||||||
// inside xlib that i seem to not be able to trap easily...
|
// inside xlib that i seem to not be able to trap easily...
|
||||||
|
|
Loading…
Reference in New Issue