mirror of https://gitee.com/bigwinds/arangodb
added comment
This commit is contained in:
parent
3d70c55d85
commit
12ac3b8bdd
|
@ -330,6 +330,9 @@ void TRI_InitV8Shell (v8::Handle<v8::Context> context) {
|
|||
TRI_AddGlobalFunctionVocbase(context, "SYS_PROCESS_JSON_FILE", JS_ProcessJsonFile);
|
||||
|
||||
bool isTty = (isatty(STDOUT_FILENO) != 0);
|
||||
// on Linux, isatty() == 0 may also indicate an error. we can ignore this safely
|
||||
// because if isatty returns an error we should not assume we're printing on a
|
||||
// terminal
|
||||
|
||||
// .............................................................................
|
||||
// create the global variables
|
||||
|
|
Loading…
Reference in New Issue