Skip to content

Commit

Permalink
opensipsctl: change trapping logging method
Browse files Browse the repository at this point in the history
the operator '&>>' does not exist for all shells, used '2>&1 >>' instead
  • Loading branch information
razvancrainea committed Apr 3, 2014
1 parent f5da89d commit 61388ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/opensipsctl
Expand Up @@ -2636,7 +2636,7 @@ opensips_trap() {
PID=`echo $pid | cut -d '-' -f 1`
echo "" >> $LOG_FILE
echo "---start $PID -----------------------------------------------------" >> $LOG_FILE
$GDB opensips $PID -batch --eval-command="bt full" &>> $LOG_FILE
$GDB opensips $PID -batch --eval-command="bt full" 2>&1 >> $LOG_FILE
echo "---end $PID -------------------------------------------------------" >> $LOG_FILE
done
echo "."
Expand Down

0 comments on commit 61388ea

Please sign in to comment.