Browse Source

Run hook code in separate process

eval was little bit too much.
Alois Mahdal 7 years ago
parent
commit
56aa66bf98
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/saturnin.sh.skel

+ 1
- 1
src/saturnin.sh.skel View File

323
         warn "syntax errors, ignoring hook: $name"
323
         warn "syntax errors, ignoring hook: $name"
324
         return 0
324
         return 0
325
     }
325
     }
326
-    eval "$code"
326
+    bash <<<"$code"
327
 }
327
 }
328
 
328
 
329
 saturnin__runsc() {
329
 saturnin__runsc() {