shithub: x

Download patch

ref: 94c70b22b594dbd2dd9ca4fdf72c027fb4289286
parent: 4e4d42527e53302bc897d299d0efa40b91b6a7ce
author: kvik <kvik@a-b.xyz>
date: Sun Jun 23 06:25:10 EDT 2019

x/mnt: check for empty login

--- a/mnt
+++ b/mnt
@@ -11,6 +11,8 @@
 host=$1
 if(~ $host '')
 	host=`{x/path -l}
+if(~ $host '')
+	usage
 if(~ $host *@*){
 	x=`'@'{echo -n $host}
 	users=$x(1)