skip loaded rc msg unless isatty

This commit is contained in:
Doug MacEachern committed 2005-07-21 04:54:42 +00:00
1 parent f37fc926f5
commit cad4b55102
1 file changed
+1 -1
@@ -152,7 +152,7 @@ public class Shell extends ShellBase {
try {
File rc = new File(dir, RCFILE_NAME);
readRCFile(rc, false);
if (this.isInteractive) {
if (this.isInteractive && Getline.isTTY()) {
this.out.println("Loaded rc file: " + rc);
}
} catch (IOException e) { }