Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import scala.sys.process._
- def mount(dev: String, dir: String): Unit = s"mount $dev $dir" ! match {
- case 0 => ()
- case _ => "echo \"Error occurred during mount\nDo you have the proper rights?\"" !
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement