projects
/
rrq
/
overlay-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle missng name
[rrq/overlay-boot.git]
/
overlay-stop
diff --git
a/overlay-stop
b/overlay-stop
index 2c57c52f529610d65d8c8ddaffa5dccce6524d57..d1e89acf581b8459e5aaf7a7f06627aa3a53e440 100755
(executable)
--- a/
overlay-stop
+++ b/
overlay-stop
@@
-7,11
+7,13
@@
NAME="$1"
NAME="$1"
+[ -z "$NAME" ] && echo "Select subhost: $(list_running)" && exit 0
+
read USPID RSPID <<EOF
$(is_live $NAME)
EOF
read USPID RSPID <<EOF
$(is_live $NAME)
EOF
-[ -z "$USPID" ] && echo "$NAME i snot running" >&2 && exit 1
+[ -z "$USPID" ] && echo "$NAME i
s
snot running" >&2 && exit 1
if [ -z "$RSPID" ] ; then
cat <<EOF >&2
if [ -z "$RSPID" ] ; then
cat <<EOF >&2