[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .profile not being src'd at login on uptodate buster



On 4/7/21, Marco Ippolito <maroloccio@gmail.com> wrote:
>> Where I want output, I protect it with:
>>
>>     [ -n "$PS1" ] && printf …
>
> Maybe consider:
>
> 	[[ -t 1 ]] && printf ...

Until your script that was started via crontab silently fails.  I
*like* always having error messages enabled.

Lee


Reply to: