Skip to content

Commit 3bc62b1

Browse files
committed
update with checksumhash
1 parent 861ed97 commit 3bc62b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aznfswatchdogv4

+2-2
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ process_nfsv4_mounts()
292292
outfslocation=$(sed "s/${l_ip}/${new_ip}/g" $VIRTUALFSLOCATION)
293293
#echo into virtualfslocation
294294

295-
echo "outfslocation" > $VIRTUALFSLOCATION
295+
echo $outfslocation > $VIRTUALFSLOCATION
296296
#calculate new PID for file once lines are updated.
297297

298298
#daniewo then mv the file? or create new one at this point?
@@ -315,7 +315,7 @@ process_nfsv4_mounts()
315315
chattr -f -i $MOUNTMAPv4
316316

317317
#update mountmapentry
318-
out=$(sed "s/$checksumHash/$checksumHash/" $MOUNTMAPv4)
318+
out=$(sed "s/$l_checksumhash/$checksumHash/" $MOUNTMAPv4)
319319
ret=$?
320320
if [ $ret -eq 0 ]; then
321321
#

0 commit comments

Comments
 (0)