$Id$
*/
-static char version[] = "0.6";
+static char version[] = "0.7";
#include <stdio.h>
#include <sys/stat.h>
if ( !strcmp(argv[i], "-h") ) {
help(); exit(0);
} else if ( !strcmp(argv[i], "-v") ) {
- printf ("dtaus version %s - Copyright (c) 1997,8,2001 by Martin Schulze <joey@infodrom.org>\n", version);
+ printf ("dtaus version %s - Copyright (c) 1997,8,2001,4 by Martin Schulze <joey@infodrom.org>\n", version);
exit (0);
} else if ( !strcmp(argv[i], "-d") ) {
if (argc - i > 1) {
exit (1);
}
} else if (action == CONTROL) {
- if (!strcmp("-",dtaus) || !stat(dtaus, &sbuf))
+ if (!strcmp("-", dtaus) || !stat(dtaus, &sbuf))
dtaus2control (dtaus, control);
else {
fprintf( stderr, "Can't stat %s\n", dtaus);
exit (1);
}
} else {
- printf ("Keine Routine angegeben (-dtaus bzw. -control vergessen).\n");
+ fprintf (stderr, "Keine Routine angegeben (-dtaus bzw. -control vergessen).\n");
exit (1);
}
exit (0);