summaryrefslogtreecommitdiff
path: root/src/library/scala/sys
diff options
context:
space:
mode:
authorJiawei Li <jiawei.h.li@gmail.com>2013-09-16 18:15:17 -0700
committerJiawei Li <jiawei.h.li@gmail.com>2013-09-16 18:15:17 -0700
commit74dfb539dfe52d080fede15c90ac45c2c69dca86 (patch)
tree2b750cd0c9d02c67b13cb257d3507f23ad76e5d8 /src/library/scala/sys
parent9dbc321504ad5550638d6d7c2b3cd2f98273cf74 (diff)
downloadscala-74dfb539dfe52d080fede15c90ac45c2c69dca86.tar.gz
scala-74dfb539dfe52d080fede15c90ac45c2c69dca86.tar.bz2
scala-74dfb539dfe52d080fede15c90ac45c2c69dca86.zip
Fix typo in documentation.
Diffstat (limited to 'src/library/scala/sys')
-rw-r--r--src/library/scala/sys/process/ProcessBuilder.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/sys/process/ProcessBuilder.scala b/src/library/scala/sys/process/ProcessBuilder.scala
index a144d51609..feced71dae 100644
--- a/src/library/scala/sys/process/ProcessBuilder.scala
+++ b/src/library/scala/sys/process/ProcessBuilder.scala
@@ -123,7 +123,7 @@ import ProcessBuilder._
* 1. `#&&` conditionally executes the second command if the previous one finished with
* exit value 0. It mirrors shell's `&&`.
* 1. `#||` conditionally executes the third command if the exit value of the previous
- * command is different than zero. It mirrors shell's `&&`.
+ * command is different than zero. It mirrors shell's `||`.
*
* Finally, `!` at the end executes the commands, and returns the exit value.
* Whatever is printed will be sent to the Scala process standard output. If