summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-23 09:44:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-23 09:44:03 +0000
commitc3b1651fafbf1b9717c504809134127d60c2a2ff (patch)
treedf2e038a644fb1f8931890229123f05012df760e /usr.bin
parentcbc6f5f54a798af609e48fc5a95be2c6f82ca208 (diff)
warn if my permissions are off; but still allow a write
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/write/write.c2
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();