From ca81d4e098169fcee00663be872719cd33b62045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 9 May 2015 19:46:28 +0200 Subject: Fix exit value when symlink is already correct --- mga-bg-res/mga-bg-res.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mga-bg-res/mga-bg-res.sh') diff --git a/mga-bg-res/mga-bg-res.sh b/mga-bg-res/mga-bg-res.sh index db937cb..cff01a8 100755 --- a/mga-bg-res/mga-bg-res.sh +++ b/mga-bg-res/mga-bg-res.sh @@ -17,7 +17,7 @@ fi # Check if the symlink is already good if [ "$curlink" = "$bgpath/$theme-$res.jpg" ]; then - exit 1 + exit 0 fi # Check if this is a supported resolution, if not, find the background with a similar aspect ratio -- cgit v1.2.1