aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-22 05:48:41 (GMT)
committerfluxgen <fluxgen>2004-01-22 05:48:41 (GMT)
commit4fb8e18d03191fce1e291f3d98b4d39050512daf (patch)
tree021157fb3b3a12d31e9ba393069c0cee7d1d7605
parent7e3de640c5fc386ec7b64ca333ad534b93d00dd7 (diff)
downloadfluxbox-4fb8e18d03191fce1e291f3d98b4d39050512daf.zip
fluxbox-4fb8e18d03191fce1e291f3d98b4d39050512daf.tar.bz2
Fix missing sanitycheck as found by Tom Ryan
-rw-r--r--util/fbsetbg6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index b4920df..b92cb3b 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -23,7 +23,7 @@
23# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25# 25#
26# $Id: fbsetbg,v 1.28 2004/01/17 01:29:40 fluxgen Exp $ 26# $Id: fbsetbg,v 1.29 2004/01/22 05:48:41 fluxgen Exp $
27 27
28# Portability notes: 28# Portability notes:
29# To guarantee this script works on all platforms that support fluxbox 29# To guarantee this script works on all platforms that support fluxbox
@@ -312,7 +312,9 @@ done
312 312
313# Find the default wallpapersetter 313# Find the default wallpapersetter
314if [ "$setterfromcommandline" != true ]; then 314if [ "$setterfromcommandline" != true ]; then
315 wpsetters="`awk '/wpsetters/ {print $2}' $lastwallpaper` $wpsetters" 315 if [ -r "$lastwallpaper" ]; then
316 wpsetters="`awk '/wpsetters/ {print $2}' $lastwallpaper` $wpsetters"
317 fi
316 for wpsetter in $wpsetters; do 318 for wpsetter in $wpsetters; do
317 if find_it $wpsetter; then 319 if find_it $wpsetter; then
318 WPSETTER=$wpsetter 320 WPSETTER=$wpsetter