Browse Source

Aesthetic issue about rm

Signed-off-by: Álvaro Jurado <elbingmiss@gmail.com>
Álvaro Jurado 6 years ago
parent
commit
30f22a150e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      rc/bin/termrc

+ 2 - 1
rc/bin/termrc

@@ -15,7 +15,8 @@ for(i in t m v C)
 # set up any partitions
 diskparts
 
-rm /env/disk
+if(test -e /env/disk)
+        rm /env/disk
 
 # we do this before we have a name.  we may need to do network
 # setup so that we can get a name.