diff options
author | 1995-10-23 09:44:02 +0000 | |
---|---|---|
committer | 1995-10-23 09:44:02 +0000 | |
commit | 1ee05d7114f58261782c18699aeee930043c959e (patch) | |
tree | f269a988e87296e32f55c6aad9eb91dcedd5d98a /usr.bin/write/write.c | |
parent | add EE_TRUE and EE_FALSE (diff) | |
download | wireguard-openbsd-1ee05d7114f58261782c18699aeee930043c959e.tar.xz wireguard-openbsd-1ee05d7114f58261782c18699aeee930043c959e.zip |
warn if my permissions are off; but still allow a write
Diffstat (limited to 'usr.bin/write/write.c')
-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(); |