]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/main.cc
* Documentation/pictures/lilypond-48.xpm: New file.
[lilypond.git] / lily / main.cc
index 093a8a69d6f58422880b7d3474c23ec8f1ef3198..7d490d8a6a1fcd5caf012a5313e5772c237e75b5 100644 (file)
@@ -596,9 +596,8 @@ main (int argc, char **argv)
   setup_localisation ();
   setup_paths ();
   parse_argv (argc, argv);
-  /* FIXME: this still needs a terminal even when using gui-main after
-     booting guile.  Maybe use a --quiet command line switch?  */
-  identify (stderr);
+  if (isatty (STDIN_FILENO))
+    identify (stderr);
 
   scm_boot_guile (argc, argv, main_with_guile, 0);