diff --git a/src/signal_handler.c b/src/signal_handler.c index 72de2715b0a024674364fd5a8ff1df3b7229ac8c..05bdc6f822977889614fefeac2053a6152de19a4 100644 --- a/src/signal_handler.c +++ b/src/signal_handler.c @@ -23,7 +23,7 @@ #include "builtin_functions.h" #include <signal.h> -RCSID("$Id: signal_handler.c,v 1.104 1999/02/01 03:25:04 per Exp $"); +RCSID("$Id: signal_handler.c,v 1.105 1999/02/04 07:22:14 hubbe Exp $"); #ifdef HAVE_PASSWD_H # include <passwd.h> @@ -1507,7 +1507,7 @@ void f_create_process(INT32 args) } if((tmp = simple_mapping_string_lookup( optional, "cwd" )) && - tmp->type == T_STRING && tmp->u.string->size_shift == 1) + tmp->type == T_STRING && !tmp->u.string->size_shift) tmp_cwd = tmp->u.string->str; if((tmp = simple_mapping_string_lookup( optional, "stdin" )) &&