iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
be safer, keep more leafs around
[distro-setup]
/
switch-mail-host
diff --git
a/switch-mail-host
b/switch-mail-host
index 4e8dfdece189e4080966d72e18ed5e025bc93c18..651c96ecc3a92d00e37cd50fc189d8a735e75db6 100644
(file)
--- a/
switch-mail-host
+++ b/
switch-mail-host
@@
-204,11
+204,11
@@
if pgrep -G iank -u iank -f 'emacs --daemon' &>/dev/null; then
fi
EOF
if ! $host2_only; then
- cat <<
'EOF'
+ cat <<
EOF
for dir in m o; do
- if mountpoint -q /$dir; then
- echo On $new_host: umount /$dir
- umount /$dir
+ if mountpoint -q /
\
$dir; then
+ echo On $new_host: umount /
\
$dir
+ umount /
\
$dir
fi
done
EOF