瀏覽代碼

Ensure that bash is used with the tox users script

Bob Mottram 8 年之前
父節點
當前提交
6164a57878
沒有帳戶連結到提交者的電子郵件
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise 查看文件

@@ -760,7 +760,7 @@ fi
760 760
 EOF
761 761
     chroot "$rootdir" chown $MY_USERNAME:$MY_USERNAME /usr/bin/list-tox-users
762 762
     chroot "$rootdir" chmod +x /usr/bin/list-tox-users
763
-    echo "* *       * * *   $MY_USERNAME    /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
763
+    echo "* *       * * *   $MY_USERNAME    bash -c /usr/bin/list-tox-users > /dev/null" >> $rootdir/etc/crontab
764 764
 
765 765
     if [[ $VARIANT != "usb" ]]; then
766 766
         # log in automatically