2011-08-20 Jonathan Nieder <jrnieder@gmail.com>
* lib/Makefile.am: Added lib/spawn.c and lib/spawn.h. * lib/nscd.c, lib/spawn.c, lib/spawn.h: It is not possible to differentiate between an nscd failure, and a failure to execute due to no nscd with posix_spawn. Use our own run_command routine. * src/userdel.c: Use run_command()
This commit is contained in:
7
lib/spawn.h
Normal file
7
lib/spawn.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef _SPAWN_H
|
||||
#define _SPAWN_H
|
||||
|
||||
extern int run_command (const char *cmd, const char *argv[],
|
||||
const char *envp[], int *status);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user