]> Zhao Yanbai Git Server - minix.git/commitdiff
llvm: Fix rc script.
authorCristiano Giuffrida <giuffrida@cs.vu.nl>
Sat, 28 Jun 2014 21:57:47 +0000 (23:57 +0200)
committerLionel Sambuc <lionel@minix3.org>
Mon, 28 Jul 2014 15:06:12 +0000 (17:06 +0200)
minix/llvm/clientctl

index f97806dfdb939c5a636e69149fb1815f8f93ce7a..e32e397d94a28117c0c2bbd32ef0daf91f4a62e8 100755 (executable)
@@ -20,7 +20,7 @@ function rc_create {
 
 set -o errexit
 
-mkdir /ext
+[ -d /ext ] || mkdir /ext
 mount -t ext2 /dev/c0d1 /ext
 
 if [ -f /ext/etc/rc ]; then