Mercurial > trustbridge
comparison cinst/nssstore_linux.c @ 305:4a3febc6d806
Some minor cleanups. Better debug output more Verify's
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 03 Apr 2014 15:29:58 +0200 |
parents | fac7e1b0e558 |
children | 824ef90a6721 |
comparison
equal
deleted
inserted
replaced
304:eecc06f714fd | 305:4a3febc6d806 |
---|---|
165 if (childprocess == -1 || !WIFEXITED(status)) | 165 if (childprocess == -1 || !WIFEXITED(status)) |
166 { | 166 { |
167 ERRORPRINTF ("Waitpid failed.\n"); | 167 ERRORPRINTF ("Waitpid failed.\n"); |
168 return -1; | 168 return -1; |
169 } | 169 } |
170 DEBUGPRINTF ("Child returned status: %i", WEXITSTATUS(status)); | 170 DEBUGPRINTF ("Child returned status: %i\n", WEXITSTATUS(status)); |
171 | 171 |
172 return 0; | 172 return 0; |
173 } | 173 } |
174 printf ("Installation as root is not yet implemented\n"); | 174 printf ("Installation as root is not yet implemented\n"); |
175 /* TODO root parse /etc/passwd for users with a home directory */ | 175 /* TODO root parse /etc/passwd for users with a home directory */ |