diff options
-rw-r--r-- | util/fbsetbg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/fbsetbg b/util/fbsetbg index b406a63..b72c7cc 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.18 2003/09/18 12:15:17 fluxgen Exp $ | 26 | # $Id: fbsetbg,v 1.19 2003/09/20 16:03:30 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 |
@@ -338,7 +338,7 @@ if [ ! -r "$wallpaper" ]; then | |||
338 | exit 1 | 338 | exit 1 |
339 | fi | 339 | fi |
340 | 340 | ||
341 | eval $WPSETTER $option "$wallpaper" | 341 | $WPSETTER `eval echo $option` "$wallpaper" |
342 | if [ $? -ne 0 ]; then | 342 | if [ $? -ne 0 ]; then |
343 | message "Something went wrong while setting the wallpaper. | 343 | message "Something went wrong while setting the wallpaper. |
344 | Run '$WPSETTER $option "$wallpaper"' from an xterm to find out what." | 344 | Run '$WPSETTER $option "$wallpaper"' from an xterm to find out what." |