summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/sysupdate9
1 files changed, 5 insertions, 4 deletions
diff --git a/rc/bin/sysupdate b/rc/bin/sysupdate
index 0f2648ef9..663844961 100755
--- a/rc/bin/sysupdate
+++ b/rc/bin/sysupdate
@@ -1,5 +1,6 @@
#!/bin/rc
-
-bind -ac /dist/plan9front /
-hg incoming
-hg pull && hg update
+rfork n
+cd /
+if(! test -d .hg)
+ bind -ac /dist/plan9front /
+hg incoming && hg pull && hg -v update