summaryrefslogtreecommitdiff
path: root/src/wallpaper.c
diff options
context:
space:
mode:
authorDrew DeVault <ddevault@hosting.com>2014-08-21 11:24:31 -0600
committerDrew DeVault <ddevault@hosting.com>2014-08-21 11:24:31 -0600
commit821a09969f5f51f0e3a7e35f6c4f35aeb9fe497a (patch)
tree94bab851e928d186746bcb322ba9a7161e320608 /src/wallpaper.c
parent27b4aa629fe7c90e894aed718e22ef39588ae0b9 (diff)
Swap bash for sh
Diffstat (limited to 'src/wallpaper.c')
-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) {