BSD 4 release
[unix-history] / usr / src / cmd / passwd.c
index a19a09f..e964bb0 100644 (file)
@@ -1,3 +1,4 @@
+static char *sccsid = "@(#)passwd.c    4.1 (Berkeley) 10/1/80";
 /*
  * enter a password in the password file
  * this program should be suid with owner
 /*
  * enter a password in the password file
  * this program should be suid with owner
@@ -116,6 +117,7 @@ tryagn:
                printf("Temporary file busy -- try again\n");
                goto bex;
        }
                printf("Temporary file busy -- try again\n");
                goto bex;
        }
+       signal(SIGTSTP, SIG_IGN);
        close(creat(temp,0600));
        if((tf=fopen(temp,"w")) == NULL) {
                printf("Cannot create temporary file\n");
        close(creat(temp,0600));
        if((tf=fopen(temp,"w")) == NULL) {
                printf("Cannot create temporary file\n");