diff options
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/sysupdate | 9 |
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 |