diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2015-05-09 19:46:28 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2015-05-09 19:46:28 +0200 |
commit | ca81d4e098169fcee00663be872719cd33b62045 (patch) | |
tree | 43ef8146ff6494a6a7fcfdea0477dcf6a2f53ae0 /mga-bg-res/mga-bg-res.sh | |
parent | f814d9fe5012460638f2c02e0f2b7fda00670529 (diff) | |
download | theme-ca81d4e098169fcee00663be872719cd33b62045.tar theme-ca81d4e098169fcee00663be872719cd33b62045.tar.gz theme-ca81d4e098169fcee00663be872719cd33b62045.tar.bz2 theme-ca81d4e098169fcee00663be872719cd33b62045.tar.xz theme-ca81d4e098169fcee00663be872719cd33b62045.zip |
Fix exit value when symlink is already correct
Diffstat (limited to 'mga-bg-res/mga-bg-res.sh')
-rwxr-xr-x | mga-bg-res/mga-bg-res.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |