Skip to content

Commit 7a938b5

Browse files
Darkless012ocaisa
andauthored
Update scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh
Co-authored-by: ocaisa <alan.ocais@cecam.org>
1 parent b2de71d commit 7a938b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/gpu_support/nvidia/link_nvidia_host_libraries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ symlink_mode () {
512512
# Force relinking the current link.
513513
# Need to remove the link first, otherwise this will follow existing symlink
514514
# and create host directory one level down !
515-
rm "$symlink"
515+
rm "$symlink" || fatal_error "Failed to remove symlink ${symlink}"
516516

517517
if ln -sf host "$symlink"
518518
then

0 commit comments

Comments
 (0)