BSD 4 release
[unix-history] / usr / src / cmd / lock.c
index d0925cb..21341d5 100644 (file)
@@ -1,3 +1,4 @@
+static char *sccsid = "@(#)lock.c      4.1 (Berkeley) 10/1/80";
 #include <stdio.h>
 #include <sys/types.h>
 #include <stat.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <stat.h>
@@ -18,6 +19,7 @@ main(argc, argv)
        struct stat statb;
 
        for (t = 1; t <= 16; t++)
        struct stat statb;
 
        for (t = 1; t <= 16; t++)
+               if (t != SIGHUP)
                signal(t, SIG_IGN);
        if (argc > 0)
                argv[0] = 0;
                signal(t, SIG_IGN);
        if (argc > 0)
                argv[0] = 0;