From 81d1d8979b6dceb037274cd8c340f64c6d2e5648 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Tue, 25 Jan 2000 19:16:31 +0000 Subject: [PATCH] Argh, this is what I get for testing, making one last "harmless cosmetic tweak" and then committing. /me got what he deserved, an embarassing build failure. --- release/sysinstall/anonFTP.c | 2 +- usr.sbin/sysinstall/anonFTP.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release/sysinstall/anonFTP.c b/release/sysinstall/anonFTP.c index 75ffab383c6..70a07358212 100644 --- a/release/sysinstall/anonFTP.c +++ b/release/sysinstall/anonFTP.c @@ -284,7 +284,7 @@ configAnonFTP(dialogMenuItem *self) if (DITEM_STATUS(createFtpUser()) == DITEM_SUCCESS) { msgNotify("Copying password information for anon FTP."); - vsystem("awk -F: '{if ($3 < 10 || $1 == "ftp") print $0}' /etc/passwd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir); + vsystem("awk -F: '{if ($3 < 10 || $1 == \"ftp\") print $0}' /etc/passwd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir); vsystem("awk -F: '{if ($3 < 100) print $0}' /etc/group > %s/etc/group && chmod 444 %s/etc/group", tconf.homedir, tconf.homedir); vsystem("chown -R root.%s %s/pub", tconf.group, tconf.homedir); } diff --git a/usr.sbin/sysinstall/anonFTP.c b/usr.sbin/sysinstall/anonFTP.c index 75ffab383c6..70a07358212 100644 --- a/usr.sbin/sysinstall/anonFTP.c +++ b/usr.sbin/sysinstall/anonFTP.c @@ -284,7 +284,7 @@ configAnonFTP(dialogMenuItem *self) if (DITEM_STATUS(createFtpUser()) == DITEM_SUCCESS) { msgNotify("Copying password information for anon FTP."); - vsystem("awk -F: '{if ($3 < 10 || $1 == "ftp") print $0}' /etc/passwd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir); + vsystem("awk -F: '{if ($3 < 10 || $1 == \"ftp\") print $0}' /etc/passwd > %s/etc/passwd && chmod 444 %s/etc/passwd", tconf.homedir, tconf.homedir); vsystem("awk -F: '{if ($3 < 100) print $0}' /etc/group > %s/etc/group && chmod 444 %s/etc/group", tconf.homedir, tconf.homedir); vsystem("chown -R root.%s %s/pub", tconf.group, tconf.homedir); }