From 3bb358f0017efeedd8a66a31613a5120eab70e31 Mon Sep 17 00:00:00 2001 From: Siep Kroonenberg Date: Sat, 22 Apr 2017 11:34:57 +0000 Subject: Shortcut target missing: not an error git-svn-id: svn://tug.org/texlive/trunk@43973 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 565d1146432..abd4eb9167e 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -1669,8 +1669,8 @@ sub _do_postaction_shortcut { if (!(-e $cmd) or !(-r $cmd)) { tlwarn("Target of shortcut action does not exist: $cmd\n") if $cmd =~ /\.(exe|bat|cmd)$/i; - # if not an executable, just omit shortcut silently - return 0; + # if not an executable, just omit shortcut silently: no error + return 1; } $cmd = conv_to_w32_path($cmd); } -- cgit v1.2.3