diff options
Diffstat (limited to 'mga-bg-res')
-rw-r--r-- | mga-bg-res/NEWS | 2 | ||||
-rwxr-xr-x | mga-bg-res/mga-bg-res.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mga-bg-res/NEWS b/mga-bg-res/NEWS index b513b51..b011832 100644 --- a/mga-bg-res/NEWS +++ b/mga-bg-res/NEWS @@ -1,3 +1,5 @@ +- Fix exit value when symlink is already correct + Version 0.7 (2015-05-02): - Make mga-bg-res a systemd service - Uses monitor-probe to find the optimal resolution when X is not yet started 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 |