From 99af330549086ace80ff430ddb51b59f4814864d Mon Sep 17 00:00:00 2001 From: Boaz Harrosh Date: Thu, 3 Nov 2011 17:36:02 -0700 Subject: [PATCH] open-osd: up-pan: Shut up the ln -s complains Second link attempt would fail. Make sure ln does the right thing by adding the -h flag (? RTFM) NOTE: On FreeBSD the flag is -h on Linux its -T go figure Boaz --- up-pan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/up-pan b/up-pan index b104f74..7da0639 100755 --- a/up-pan +++ b/up-pan @@ -49,7 +49,7 @@ endsw # On Panasas-osd we must make sure that: mkdir -p $BACKSTORE0/ -ln -sf /pandata $BACKSTORE0/dfiles +ln -shf /pandata $BACKSTORE0/dfiles echo "================ `date` =========================" >> $LOG