46755b10d0
- Add smt command.
16 lines
627 B
Plaintext
16 lines
627 B
Plaintext
$OpenBSD: patch-rmt_rmt_c,v 1.3 2002/11/29 20:59:47 naddy Exp $
|
|
--- rmt/rmt.c.orig Sun Nov 24 13:35:47 2002
|
|
+++ rmt/rmt.c Fri Nov 29 21:28:59 2002
|
|
@@ -146,9 +146,9 @@ main(argc, argv)
|
|
* don't contribute work and don't give support, they are causing extra
|
|
* work for me and this way slow down the development.
|
|
*/
|
|
- if (defltopen("/etc/default/rmt") < 0) {
|
|
+ if (defltopen(SYSCONFDIR "/srmt.conf") < 0) {
|
|
if (geteuid() == 0) {
|
|
- rmterror("Remote configuration error: Cannot open /etc/default/rmt");
|
|
+ rmterror("Remote configuration error: Cannot open " SYSCONFDIR "/srmt.conf");
|
|
exit(EX_BAD);
|
|
}
|
|
} else {
|