diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-23 09:44:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-23 09:44:03 +0000 |
commit | c3b1651fafbf1b9717c504809134127d60c2a2ff (patch) | |
tree | df2e038a644fb1f8931890229123f05012df760e | |
parent | cbc6f5f54a798af609e48fc5a95be2c6f82ca208 (diff) |
warn if my permissions are off; but still allow a write
-rw-r--r-- | usr.bin/write/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c index 66ed06917f4..3dc298f8cd1 100644 --- a/usr.bin/write/write.c +++ b/usr.bin/write/write.c @@ -97,7 +97,7 @@ main(argc, argv) if (term_chk(mytty, &msgsok, &atime, 1)) exit(1); if (!msgsok) - errx(1, "you have write permission turned off"); + warnx("you have write permission turned off"); myuid = getuid(); |