diff options
| author | Ned T. Crigler <crigler@users.sourceforge.net> | 2006-06-03 01:28:20 +0000 |
|---|---|---|
| committer | Ned T. Crigler <crigler@users.sourceforge.net> | 2006-06-03 01:28:20 +0000 |
| commit | 5f6d552d2cdb017e7934620770e2a8c535b41525 (patch) | |
| tree | 46aee713ac957f2e3e012367dfc4a995aa3bbc2b /dtach.h | |
| parent | 3b070abf7ad3f8e9787dc5c30b81e42b1d6121bc (diff) | |
Print an error message if we could not execute the desired command, instead of
exiting silently.
Also make sure the master process waits until the client attaches when using
the -A and -c modes, so that the error message has a chance of being seen.
Diffstat (limited to 'dtach.h')
| -rw-r--r-- | dtach.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -116,8 +116,11 @@ struct packet */ #define BUFSIZE 4096 +/* This hopefully moves to the bottom of the screen */ +#define EOS "\033[999H" + int attach_main(int noerror); -int master_main(char **argv); +int master_main(char **argv, int waitattach); #ifdef sun #define BROKEN_MASTER |
