fixed complaint about nautilus if not installed.
authorChris Koeritz <fred@gruntose.com>
Thu, 18 Jun 2015 19:09:16 +0000 (15:09 -0400)
committerChris Koeritz <fred@gruntose.com>
Thu, 18 Jun 2015 19:09:16 +0000 (15:09 -0400)
scripts/core/common.alias

index 3ce57ec6f218d4b10a224267c8f80e955ca91261..7b8d3caddc02a0b6dfda48cb7a5b8065ba82d868 100644 (file)
@@ -28,7 +28,7 @@ if [ "$OS" != "Windows_NT" ]; then
   if [ -n "$IS_DARWIN" ]; then
     # case for mac os x.
     alias exp='open'
-  elif [ ! -z "$(which nautilus)" ]; then
+  elif [ ! -z "$(which nautilus 2>/dev/null)" ]; then
     # we prefer nautilus if available.
     alias exp='nautilus'
   else