aboutsummaryrefslogtreecommitdiff
path: root/shells/scponly/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'shells/scponly/files/patch-aa')
-rw-r--r--shells/scponly/files/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/shells/scponly/files/patch-aa b/shells/scponly/files/patch-aa
new file mode 100644
index 000000000000..82fbc17fc470
--- /dev/null
+++ b/shells/scponly/files/patch-aa
@@ -0,0 +1,14 @@
+--- scponly.c.orig Mon Mar 22 14:30:38 2004
++++ scponly.c Sat Jul 17 19:43:04 2004
+@@ -442,9 +442,9 @@
+ (-1 == asprintf( &env[0], "HOME=%s", homedir)))
+ {
+ syslog(LOG_ERR, "could not set HOME environment variable(%s))", logstamp());
+- exit(EXIT_FAIL);
++ exit(EXIT_FAILURE);
+ }
+- if (debug)
++ if (debuglevel)
+ syslog(LOG_DEBUG, "set HOME environment variable to %s (%s))", env[0], logstamp());
+ #endif
+