summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wallpaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c
index 61eb1c3..3e19c41 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -456,7 +456,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
if ((fp = fopen(path, "w")) == NULL) {
weprintf("Can't write to %s", path);
} else {
- fprintf(fp, "#!/bin/bash\n%s\n", fehbg);
+ fprintf(fp, "#!/bin/sh\n%s\n", fehbg);
fclose(fp);
stat(path, &s);
if (chmod(path, s.st_mode | S_IXUSR | S_IXGRP) != 0) {